[Gambas-user] change row height in listview

Benoit Minisini gambas at ...1...
Sat Jan 10 23:11:16 CET 2009


On vendredi 9 janvier 2009, Fabien Bodard wrote:
> 2009/1/8 kobolds <kobolds at ...2041...>:
> > how do I change the row height in listview ?
> > I try change the the font . it work but look ugly . any other way ?
> >
> > I try to set listview1.item.height = 30 , but get error null object .
>
> Item represent the current internal selected item... You must have
> items, and select it... or use a key
>
> ListView["mykey"].height = 30
>

Anyway, you can't change the height of a row in a ListView. It is always 
adapted to the height of the contents. You must use a GridView if you need 
something like that.

Regards,

-- 
Benoit Minisini




More information about the User mailing list