-
Listbox component height
After some googling without find anything that even get close to the subject I really doubt that there is a solution, but here it goes...
The AS 2 listbox component. I cannot see a way to dynamically stretch it vertically without to make the font grow/shrink together. I would like to change its height to fit the items count but cannot see how to do that. Any idea?
-
.
Hi,
Try listBoxName.setSize(100,300);// (width,height)
-
.
Hi,
And if you want it to be an exact height as you earlier said, try
listBoxName.setSize(whatever width you want, listBoxName.rowHeight * item amount);
-
.
Hi,
I assume you have it working now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|