|GridLayout - strange behaviour [message #448311]
||Thu, 06 January 2005 22:05
Originally posted by: bogdan.b.bb.pl|
I was trying to temporaly turn off some widgets,
i try to setVisible(false) and re-layout panel,
but this doesn't work and there was empty spaces
where previously were widgets.
Next I try to set GridData.heightHint = 0,
but there was some to much space between two neighbour widgets.
Next I try to set GridData.veritalSpan to 0,
but it seems to me that widget,
which had horizontalSpan set to 2, was layout as
it has horizontalSpan set to 1.
When I try to set horizontalSpan to 0,
exception was thrown.
Is it posible to set controls to invisible and
layout panel as invisible controls where not added to panel?
Powered by FUDForum
. Page generated in 0.02214 seconds