Page 1 of 1

Cannot type a space on a textbox inside listbox

Posted: 30 Mar 2017, 11:49
by PhiLong
I make a simple xaml:
<UserControl
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
		Height="350" Width="525">
    <Grid>
        <ListView>
            <ListViewItem>
                <TextBox />
            </ListViewItem>
            <ListViewItem>
                <TextBox />
            </ListViewItem>
        </ListView>
    </Grid>
</UserControl>
I can't input space into the textbox. When I press the space bar, it focus into the ListboxItem.

NoesisGui version is 1.2.6f6. Do you know how to solve it?

Thank you!

Re: Cannot type a space on a textbox inside listbox

Posted: 30 Mar 2017, 14:11
by sfernandez
Hi,

This was a bug we already fixed for NoesisGUI 2.0.
Could you download the latest version and test again?

Another thing that you should add is the ListView.View property:
<ListView.View>
    <GridView>
        <GridViewColumn .../>
        ...
    </GridView>
</ListView.View>

Re: Cannot type a space on a textbox inside listbox

Posted: 31 Mar 2017, 03:59
by PhiLong
Thank you for your reply.

I just make a prototype with NoesisGui, so I used the free version on asset store.
Can I download the trial of version 2.0 ?
Thank you !

Re: Cannot type a space on a textbox inside listbox

Posted: 31 Mar 2017, 12:09
by sfernandez
Yes, as you can see in the licensing page, NoesisGUI is free for Indies (gross annual income < 100K€).
Please go to downloads and you will find there the latest version of NoesisGUI for Unity.

Re: Cannot type a space on a textbox inside listbox

Posted: 01 Apr 2017, 17:26
by PhiLong
Thank you. I tried the new version. It worked well.

Re: Cannot type a space on a textbox inside listbox

Posted: 03 Apr 2017, 12:32
by sfernandez
You are welcome.