aspose file tools*
The moose likes Beginning Java and the fly likes [SWT] resize problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

[SWT] resize problem

Matthieu BROUILLARD
Greenhorn

Joined: Aug 05, 2004
Posts: 5
Hi all,

i have a problem resizing a Text in a GridLayout.
i have simplified my problem in the following example.
What i want to do is to resize the text1 Text widget correctly.

Here are some screenshoots of what happen, and i post my little example to reproduce.

Thanks for help.

2 columns mode (window is packed)

2 columns mode (window is extended)

3 columns mode (window is extended)


To switch between modes, just give a parameter to the main.


[ August 05, 2004: Message edited by: Matthieu BROUILLARD ]
Matthieu BROUILLARD
Greenhorn

Joined: Aug 05, 2004
Posts: 5
I have posted the solution in the UI forum : Solution
 
 
subject: [SWT] resize problem