This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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
Don't get me started about those stupid light bulbs.
subject: [SWT] resize problem
It's not a secret anymore!