Search found 2327 matches

by sfernandez
Today, 17:17
Forum: General Discussion
Replies: 3
Views: 139

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
Today, 17:12
Forum: General Discussion
Replies: 1
Views: 6

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
Today, 16:57
Forum: General Discussion
Replies: 1
Views: 1331

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
Today, 10:42
Forum: General Discussion
Replies: 3
Views: 139

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: 6
Views: 512

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: 1321

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: 1625

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: 3055

Re: 3.1.0 ScrollView problem pink and not scrolling

Marked this as solved, thanks.
by sfernandez
16 Sep 2021, 12:27
Forum: General Discussion
Replies: 3
Views: 1321

Re: TreeView / ListView rendering hidden rows outside local viewport

This seems a problem with stencil, we rely on that for clipping on this kind of scenarios.
Are you setting up a stencil buffer when creating your main surface? Are you clearing it before rendering the UI to the screen?
by sfernandez
13 Sep 2021, 11:56
Forum: General Discussion
Replies: 6
Views: 3055

Re: 3.1.0 ScrollView problem pink and not scrolling

This is just a binding error that indicates that you are not specifying a View in your ListView (so it behaves like a simple ListBox without columns). You probably have something like this: <ListView ItesmsSource="{Binding SomeItems}"/> If you want to show several columns for each item you have to s...