« Return to Thread: Automatically resize a qx.ui.form.List according to the number of contained items

Automatically resize a qx.ui.form.List according to the number of contained items

by Bugzilla from elvanor@gmail.com :: Rate this Message:

Reply to Author | View in Thread

Hi,

Pretty much everything is in the title: I have a qx.ui.form.List which is a acting as a selector. I put a number of entries in it, and I would like the box's height to be automatically computed. Currently it seems it chooses a default height. Manually calling setHeight() works, but is not convenient (I dont know the exact height).

Ideally I would like it to resize automatically when adding or removing items to this list.

I tried a lot of things but none worked, I am quite stuck right now.

Jean-Noel

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 « Return to Thread: Automatically resize a qx.ui.form.List according to the number of contained items