Search found 2329 matches

by sfernandez
Yesterday, 10:38
Forum: General Discussion
Replies: 2
Views: 14

Re: Stopped rendering (Background rendering)

In your application class override RunInBackground property:
public partial class App : Application
{
  protected override bool RunInBackground => true;
  // ...
}
by sfernandez
Yesterday, 10:34
Forum: General Discussion
Replies: 7
Views: 175

Re: Cannot build the UE4 plugin 3.1.1

I tried directly running the project, starts up fine, the login part of our app shows up fine, but after clicking login, not sure what's making it crash. Could you please create a ticket in our bugtracker attaching a minidump of the crash. Before you try to upgrade your project to 4.27 we would lik...
by sfernandez
20 Sep 2021, 17:17
Forum: General Discussion
Replies: 3
Views: 830

Re: ImageBrush works Abnormally in Noesis 3.1.1

Do you need the base tile centered in the area that ImageBrush should fill? If that is the case, then you need to calculate the Viewport property of the ImageBrush based on the Image size and the area size. You can create a Converter that calculates it to assign the Viewport in XAML. Please let me k...
by sfernandez
20 Sep 2021, 17:12
Forum: General Discussion
Replies: 1
Views: 26

Re: Custom bounding box hit test

VisualTreeHelper.GetDescendantBounds() will give you the 2D bounding box of any UI element in the tree. You can also obtain the min/max Z of the descendant if you need to calculate the 3D bounds.

Is this what you are looking for?
by sfernandez
20 Sep 2021, 16:57
Forum: General Discussion
Replies: 2
Views: 2034

Re: Multiple problems with text fonts

Hi, 1) Could you please open a ticket and attach a font file that doesn't work for you? How are you referencing the font in XAML? As explained in our Text tutorial , if you don't specify a folder before the '#' sign it will try to find the font in the operating system. Are you testing this in macOS?...
by sfernandez
20 Sep 2021, 10:42
Forum: General Discussion
Replies: 3
Views: 830

Re: ImageBrush works Abnormally in Noesis 3.1.1

Hi, the behavior in 3.1 is correct compared to WPF where an Image with Stretch="None" and a Viewport="0,0,1,1" (entire target) leaves transparent border if image is smaller than target surface. imgbrnone.jpg If you want Tile to work, the Viewport should be smaller than the target surface: <Rectangle...
by sfernandez
17 Sep 2021, 19:33
Forum: General Discussion
Replies: 8
Views: 1400

Re: Crash using std::map to sort items in ObservableCollection

Regarding your sort approach (using an intermediate map) I want to mention that you can use the Move method in ObservableCollection to sort your items without removing and adding them. This will perform a lot better as Move notifications just change the associated containers index (if collection is ...
by sfernandez
16 Sep 2021, 13:07
Forum: General Discussion
Replies: 3
Views: 2138

Re: TreeView / ListView rendering hidden rows outside local viewport

Great, thanks for the update.
by sfernandez
16 Sep 2021, 12:34
Forum: General Discussion
Replies: 2
Views: 2389

Re: Update UI from different thread.

I was going to say that you shouldn't use Dispatcher.CurrentDispatcher.CheckAccess() because that returns the dispatcher for the current thread, so it will always have access. And that you would probably need to store the Dispatcher used for the UI, so you can check against it, something like: prote...
by sfernandez
16 Sep 2021, 12:30
Forum: General Discussion
Replies: 6
Views: 3828

Re: 3.1.0 ScrollView problem pink and not scrolling

Marked this as solved, thanks.