GridLayout - strange behaviour [message #448311] |
Thu, 06 January 2005 17:05  |
Eclipse User |
|
|
|
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?
bogdan
|
|
|
|
Re: GridLayout - strange behaviour [message #448402 is a reply to message #448311] |
Fri, 07 January 2005 17:41  |
Eclipse User |
|
|
|
https://bugs.eclipse.org/bugs/show_bug.cgi?id=49426
"bogdan" <bogdan@b.bb.pl> wrote in message
news:crkcmt$k56$1@www.eclipse.org...
> 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?
>
> bogdan
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05658 seconds