Search found 3191 matches

by sfernandez
04 Feb 2025, 11:29
Forum: General Discussion
Replies: 8
Views: 304

Re: ComboBox and Mobile

Could you please provide a RenderDoc capture of a frame showing the ComboBox dropdown in that device?
by sfernandez
04 Feb 2025, 11:27
Forum: General Discussion
Replies: 6
Views: 314

Re: Unity - Issues with Android devices playing videos

Glad it worked!
by sfernandez
04 Feb 2025, 11:26
Forum: General Discussion
Replies: 5
Views: 147

Re: Custom Unity SpriteAtlas control.

Our Inventory example uses an Sprite Atlas for showing the inventory icons.

Thanks for the update, I'm going to mark this as solved then.
by sfernandez
04 Feb 2025, 11:23
Forum: General Discussion
Replies: 3
Views: 180

Re: Bitmap Image GetWidth or GetPixelWidth always returns 0

In the case of the BitmapImage, when Init is called we use the TextureProvider to access the image file and read the header for getting the bitmap information. In general the Init() method just puts DependencyObjects in a ready state to listen and notify of property changes. In normal circumstances ...
by sfernandez
30 Jan 2025, 13:05
Forum: General Discussion
Replies: 3
Views: 180

Re: Bitmap Image GetWidth or GetPixelWidth always returns 0

Hi, Newly created resources are not initialized and haven't loaded the required asset to get the information. If you call Init on the image it will load the specified png and you should be able to get its size information: const auto image = Noesis::MakePtr<Noesis::BitmapImage>(Noesis::Uri("Pat...
by sfernandez
30 Jan 2025, 13:00
Forum: General Discussion
Replies: 5
Views: 307

Re: How to set 2 color background to a TreeView

I have implemented a Behavior that attaches to the TreeViewItem and
recalculates the AlternationIndex with the Expanded State of the TreeViewItem.

The Behavior handles Loaded, Expanded, and Collapsed.
That is a good solution too, thanks for sharing it!
by sfernandez
30 Jan 2025, 12:59
Forum: General Discussion
Replies: 6
Views: 314

Re: Unity - Issues with Android devices playing videos

Hi, my sample can be changed so instead of playing on load, it reacts to changes of the MediaElement Source property and enables looping: <MediaElement x:Name="media" Stretch="Uniform" LoadedBehavior="Manual"> <b:Interaction.Triggers> <b:PropertyChangedTrigger Binding=&...
by sfernandez
30 Jan 2025, 10:53
Forum: General Discussion
Replies: 8
Views: 304

Re: ComboBox and Mobile

Are there any constraints specific to mobile for comboBox? No, the code is the same for all platforms. The only limitation is given by the View (the surface) size. Could you connect the Inspector and investigate the sizes of the parent elements of the drop down, to see if there is any unexpected He...
by sfernandez
24 Jan 2025, 11:22
Forum: General Discussion
Replies: 5
Views: 307

Re: How to set 2 color background to a TreeView

As the TreeView is a hierarchical control, each child has its own Items collection with different indices. If you have to use a TreeView, the AlternationIndex is not an option here, you might want to expose a global index in your item view model instead. <Style TargetType="TreeViewItem"> <...
by sfernandez
24 Jan 2025, 11:15
Forum: General Discussion
Replies: 5
Views: 272

Re: Binding ObservableCollection in version 3.2.7

Hi, In previous versions there was a bug that made all observable collections share the same type, which will incorrectly allow you to cast between unrelated types. Although it might seem that ObservableCollection<NodeComponent> and ObservableCollection<BaseComponent> are related, that is not the ca...