Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Resize Tool not Working
Resize Tool not Working [message #787265] Tue, 31 January 2012 11:22 Go to next message
Dennis Putnam is currently offline Dennis PutnamFriend
Messages: 52
Registered: January 2012
Member
I am a new WindowBuilder user as well as new to Eclipse. When I place JLabels, in design view, I cannot resize them. The resizing cursor displays but when I left click/hold and try to resize, the cursor moves but not the JLablel corner. What am I doing wrong? TIA.
Re: Resize Tool not Working [message #787333 is a reply to message #787265] Tue, 31 January 2012 13:18 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
Registered: July 2009
Location: Boston, MA
Senior Member
WHat layout manager are you using? Some allow resizing and some don't.
Re: Resize Tool not Working [message #787378 is a reply to message #787333] Tue, 31 January 2012 14:14 Go to previous messageGo to next message
Dennis Putnam is currently offline Dennis PutnamFriend
Messages: 52
Registered: January 2012
Member
Thanks for the reply. I use several depending on what I am trying to do. I don't recall seeing anything in the documentation about only being able to resize in certain layout managers. I guess I assumed that if the corner markers showed up, along with the resize cursor when at a corner, that I should be able to resize it. Which layout managers allow resizing?
Re: Resize Tool not Working [message #787398 is a reply to message #787378] Tue, 31 January 2012 14:39 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
Registered: July 2009
Location: Boston, MA
Senior Member
Which layout managers are you having trouble with? A code example would be useful here.
Re: Resize Tool not Working [message #788231 is a reply to message #787398] Wed, 01 February 2012 14:31 Go to previous messageGo to next message
Dennis Putnam is currently offline Dennis PutnamFriend
Messages: 52
Registered: January 2012
Member
I guess I figured it out. It seems the only manager that lets me resize as expected is absolute layout. I don't understand why some of the other managers show the resize cursor but don't allow a resize. Anyway I have a way to do what I want so I'm good to go. Thanks.
Re: Resize Tool not Working [message #788261 is a reply to message #788231] Wed, 01 February 2012 15:23 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
Registered: July 2009
Location: Boston, MA
Senior Member
Actually, several of the Swing layout managers allow you to resize either the actual widgets or the rows and columns where the widgets reside (absolute, Spring, Group, GridBag, Form, and MiG). The other, more simple layouts all impose constraints on the widget sizes based on their contents.
Re: Resize Tool not Working [message #788273 is a reply to message #788261] Wed, 01 February 2012 15:42 Go to previous messageGo to next message
Dennis Putnam is currently offline Dennis PutnamFriend
Messages: 52
Registered: January 2012
Member
Odd, none of those would do anything beyond showing the resize cursor for me. Absolute was the only one that seemed to work.
Re: Resize Tool not Working [message #788287 is a reply to message #788273] Wed, 01 February 2012 15:55 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
Registered: July 2009
Location: Boston, MA
Senior Member
absolute, Spring, and Group will allow you to directly resize a widget while GridBag, Form, and MiG are grid-based and will allow you to resize the rows and columns containing the widgets (and then set alignment and fill within a cell).
Re: Resize Tool not Working [message #788318 is a reply to message #788287] Wed, 01 February 2012 16:46 Go to previous message
Dennis Putnam is currently offline Dennis PutnamFriend
Messages: 52
Registered: January 2012
Member
I wonder if I have some kind of installation problem.
Previous Topic:StackOverflowError in WindowBuilder
Next Topic:SWT GUI designer issues
Goto Forum:
  


Current Time: Fri Dec 19 11:00:06 GMT 2014

Powered by FUDForum. Page generated in 0.01877 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software