CMarinacci
Topic Author
Posts: 15
Joined: 07 Aug 2017, 02:56

ListView not working in Unity v2.2.1?

13 Apr 2019, 21:09

I have a relatively simple ListView declaration:

<ListView FontSize="20"
Width="300"
Height="300">
<ListView.Items>
<ListViewItem Content="Item 1" />
<ListViewItem Content="Item 2" />
<ListViewItem Content="Item 3" />
<ListViewItem Content="Item 4" />
<ListViewItem Content="Item 5" />
</ListView.Items>
</ListView>

The items show up correctly in Blend (both in the editor and when I run the program). When I run the program in Unity, I can see that the ListView has been populated, but the contents of the ListViewItems are not showing.

If I change "ListView*" to "ListBox*" everything works correctly.

I've also tried this using a data template, with the same result (works with ListBox, but not ListView).

Thanks,

Chris
 
CMarinacci
Topic Author
Posts: 15
Joined: 07 Aug 2017, 02:56

Re: ListView not working in Unity v2.2.1?

13 Apr 2019, 21:35

I can get this to work if I define a View for the ListView, but in WPF you don't have to.

Thanks,

Chris
 
User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: ListView not working in Unity v2.2.1?

16 Apr 2019, 12:11

Hi, this is a known issue for all NoesisGUI versions: https://www.noesisengine.com/bugs/view.php?id=493
We will fix it for the next release.

Who is online

Users browsing this forum: Semrush [Bot] and 90 guests