File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

[SWT] resize problem


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 ]

Joined: Aug 05, 2004
Posts: 5
I have posted the solution in the UI forum : Solution
I agree. Here's the link:
subject: [SWT] resize problem
It's not a secret anymore!