- CMarinacci
- Posts: 15
- Joined:
ListView not working in Unity v2.2.1?
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
<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
- Posts: 15
- Joined:
Re: ListView not working in Unity v2.2.1?
I can get this to work if I define a View for the ListView, but in WPF you don't have to.
Thanks,
Chris
Thanks,
Chris
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: ListView not working in Unity v2.2.1?
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.
We will fix it for the next release.
Who is online
Users browsing this forum: Semrush [Bot] and 90 guests