Stacklayout [message #458137] |
Sun, 10 July 2005 11:06 |
Eclipse User |
|
|
|
Originally posted by: reinecke.uni-koblenz.de
Hi,
I'm using a stacklayout to change between different composites. The =
composite I have as the topControl first spreads out the way I want it t=
o =
but as soon as I call an underlying composite with setFocus() it is a =
little bit smaller so the first topControl shows through on the sides. =
This is although each composite has the same gridData.
Anyone know what the problem is?
Thanks.
Kath
|
|
|
|
Re: Stacklayout [message #458140 is a reply to message #458138] |
Sun, 10 July 2005 14:43 |
Eclipse User |
|
|
|
Originally posted by: reinecke.uni-koblenz.de
> You remember to call layout on the parent Composite after you set the =
=
> new topControl?
Yes, did that...
>> This is although each composite has the same gridData.
>
> Are you re-using GridData objects?
Ah, no, wrong formulation: each composite has its own GridData object bu=
t =
with the same definitions (so it should look the same).
> That's all I could think of.
Thanks alot anyway!
But just to make sure: Has anyone programmed a wizard or whatever with a=
=
stacklayout where it actually worked? That is, where the composites wher=
e =
the same size on top of each other? I'm starting to think that it might =
=
not be possible...
Kath
|
|
|
|
Powered by
FUDForum. Page generated in 0.02636 seconds