Resize Tool not Working [message #787265] |
Tue, 31 January 2012 11:22  |
Eclipse User |
|
|
|
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 #787378 is a reply to message #787333] |
Tue, 31 January 2012 14:14   |
Eclipse User |
|
|
|
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 #788231 is a reply to message #787398] |
Wed, 01 February 2012 14:31   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #788287 is a reply to message #788273] |
Wed, 01 February 2012 15:55   |
Eclipse User |
|
|
|
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).
|
|
|
|
Powered by
FUDForum. Page generated in 0.04711 seconds