Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
ScottGill #1
Hide control and reclaim screen space
I what to show/hide one or more controls in a panel. When I hide a control I
want it to appear as if it was never there. When I hide a control with
someControl.visible=false the control is not visable but it is still taking up
the same space as if it was. I've tried hidding it by setting it's height or
width=0 but some padding still exists. How can I reclaim all screen real
estate when hidding a control?
ScottGill Guest
-
Large Blank Space on the Screen
I really hope someone can explain this behavior. I have spend quite a bit of time and tried a bunch of things, so far nothing has worked. I have... -
Hide Cursor for touch-screen system
Hi guys,.........and girls of course ! I'm working on a game which will be used on a touch screen system for children. Becuase of this I need to... -
reclaim index space
Hi I recently dropped a big index on a 45G tables. When I did a list tablespace, the space used did not seem to decrease. I have also done a... -
Reclaim disk storage
I have a DB (7.2 FP 8 on Win2k) that is growing beyond the phisical disk size. I noticed that it contains a lot of useless index. If I drop them,... -
How Can I hide The control box on a form
Do you mean make a control visible/not visible? From a command button click event: .visible = Not .visible -- Fred Please reply only to... -
bdeen #2
Re: Hide control and reclaim screen space
you could try deleting and then recreating it with ActionScript.
You might look at the layout container that you have your control in, there is
something called verticalGap and horizontalGap that might be the padding you're
seeing.
You could always put it in a popup thereby not having to worry about it at all.
bdeen Guest
-
ntsiii #3
Re: Hide control and reclaim screen space
If you can use a Canvas, most of those control flow, size , margin and padding issues go away. But you lose the control flow, margin and padding.
Tracy
ntsiii Guest
-
ntsiii #4
Re: Hide control and reclaim screen space
Go on and request an enhancement for a true "display=none" functionality. I have, and the more who do, the better.
[url]http://www.macromedia.com/support/email/wishform/[/url]
ntsiii Guest
-
ScottGill #5
Re: Hide control and reclaim screen space
Setting the gap to zero in the parent container does get rid of the left over
padding when setting height or width=0 but I then lose the gap for the visible
components as well. To get around that I could wrap each component in a
container and set its' margins to recreate the gap. That seems to work in my
initial tests but could add a lot of extra containers.
Using ActionScript is something I though of also but I was hoping for a
simpler solution.
Thanks for your suggestions. I submitted an enhancment request as suggested.
ScottGill Guest
-
bdeen #6
Re: Hide control and reclaim screen space
instead of a container you could use <mx:Spacer> and set the spacer to the size of the gap.
bdeen Guest
-



Reply With Quote


