[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-user
Subject:    Re: [Gambas-user] change row height in listview
From:       Benoit Minisini <gambas () users ! sourceforge ! net>
Date:       2009-01-10 22:11:16
Message-ID: 200901102311.16047.gambas () users ! sourceforge ! net
[Download RAW message or body]

On vendredi 9 janvier 2009, Fabien Bodard wrote:
> 2009/1/8 kobolds <kobolds@singnet.com.sg>:
> > 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

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic