PDA

View Full Version : In Radio, spacing between button and boxlabel increases as you hide/show it



cbruno
25 Jul 2010, 6:22 PM
I have a radio group in a form panel. This radio group is only needed once the user has completed an action, so I use setVisible(false) and then setVisible(true) when its needed. Every time the setVisible(false); setVisible(true) is called, the spacing between the radio button and its box label increases. Seems like this spacing should be constant.

cbruno
25 Jul 2010, 6:42 PM
I should add I am using GXT 2.2 beta

sven
26 Jul 2010, 2:06 AM
Please post a fully working testcase that implements EntryPOint

cbruno
26 Jul 2010, 11:59 AM
Hi Sven,

I did what you said, and everything was fine in the test case. I then went back to my project and removed an HTML component that contains an object/embed tag to show a little flash app (a file uploader). When I remove this, everything is fine with the Radio buttons.

Side question: How can I use FlashComponent to embed my file uploader swf? I tried to use it but I kept getting an attach/detach error in the browser.