|
|
Re: Making a Text resizing with it's composite [message #453451 is a reply to message #453328] |
Tue, 05 April 2005 22:11 |
Eclipse User |
|
|
|
Originally posted by: amayen.gmx.de
Hi Zoran!
You already got it working, but for your purpose its maybe better to just
use FillLayout
Have you looked at FillLayout?
From the API:
"Note that in a FillLayout, children are always the same size, and they fill
all available space."
Anatol Mayen
"Zoran Pjevic" <zoran.pjevic@vega.de> schrieb im Newsbeitrag
news:c22551djj23mt3u6lc46tea47ussguhj11@4ax.com...
> Hello
>
> I want to make a "TextArea" that fills my entire window and resize
> with it.
>
> I understand that I don't have to use the scrollableComposite, so I
> took the nonscrollable Composite controlled by the FormLayout Manager
> and sticked it's borders to the borders of the composite.
>
> Then I have added the Text into the Composite, but how do I make it
> resizing together with it's composite?
>
> I am just switching from SWING to SWT, so any help would be welcome.
>
> Thanks,
> Zoran
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04542 seconds