This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: [SWT] resize problem
 
Similar Threads
swt buttons wont right-align
ScrolledComposite issue
ActionListener to Jface Dialogue
swt styledtext search/find next
[SWT] Text resize problem