Hi Ken, you could use getSizeHint() to get the actual height of each list item:
http://demo.qooxdoo.org/current/apiviewer/#qx.ui.core.LayoutItem~getSizeHint Regards, Daniel Ken MacDonald schrieb: > I'd like to find out what size a List would like to be - given a certain > number of ListItems in a certain font, padding, (i.e. all the layout > info), how can I figure out the size the widget should be, in order to > display without scrollbars? Right now, I am setting the minHeight() to > be a multiple of the number of ListItems, which works OK for a certain > font size, etc. but will need to be adjusted if I change fonts or > spacing. getHeight(), getMinHeight(), and so on all seem to just echo > back what the user has entered, if anything, or a meaningless default > value. Perhaps there is an internal function that would generate this? > Ken > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > > ------------------------------------------------------------------------ > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
