[flexcoders] .visible = false still keeps element's width height?

2006-10-19 Thread Jonas Windey
Hi, I have 3 buttons in a HBox, and in some cases I need to hide one of them. The problem is, if I hide them, they still keep their original width and there's a gap. Is there a clean solution for this? I was thinking of setting it's width to 0 but that's not very clean. Thanks! Jonas --

RE: [flexcoders] .visible = false still keeps element's width height?

2006-10-19 Thread Andrew Trice
: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonas Windey Sent: Thursday, October 19, 2006 10:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] .visible = false still keeps element's width height? Hi, I have 3 buttons in a HBox, and in some cases