Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » WindowBuilder Bug. Control position in Designer View is opposite(windowbuilder sashform control position opposite)
WindowBuilder Bug. Control position in Designer View is opposite [message #1058403] Tue, 14 May 2013 00:42 Go to next message
MOONKI PARK is currently offline MOONKI PARKFriend
Messages: 5
Registered: May 2013
Junior Member
Eclipse: Juno

- Design Program Coding
: EditorPart , SashForm, Composite(Fill)
- open Windowbuilder Design
- Shown Design Control is deployed by opposite
RightComposite <-> LeftComposite Position is opposite in Windowbuilder Design View
Label, Text Position is opposite
- ViewPart, EditorPart is same result.
- Show my attached capture file

My Coding

@Override
public void createPartControl(Composite parent) {
FillLayout fl_parent = new FillLayout(SWT.HORIZONTAL);
parent.setLayout(fl_parent);
Composite container = new Composite(parent, SWT.NONE);
container.setTouchEnabled(true);
container.setLayout(new GridLayout(1, false));

SashForm sashForm = new SashForm(container, SWT.NONE);
sashForm.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));

Composite compositeLeft = new Composite(sashForm, SWT.BORDER);
compositeLeft.setLayout(new GridLayout(1, false));

Label lblNewLabel_1 = new Label(compositeLeft, SWT.NONE);
lblNewLabel_1.setText("Left");

Composite compositeRight = new Composite(sashForm, SWT.BORDER);
compositeRight.setLayout(new GridLayout(2, false));

Label lblNewLabel = new Label(compositeRight, SWT.NONE);
lblNewLabel.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
lblNewLabel.setText("Right");

textRight = new Text(compositeRight, SWT.BORDER);
textRight.setText("rightText");
textRight.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1));
sashForm.setWeights(new int[] {1, 1});
}
Re: WindowBuilder Bug. Control position in Designer View is opposite [message #1058408 is a reply to message #1058403] Tue, 14 May 2013 02:16 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
This was caused by recent changes in Eclipse Juno (rather than by any recently introduced regression/bug in WindowBuilder).

We investigated this and fixed it about three weeks ago. See Bug 406621.
Re: WindowBuilder Bug. Control position in Designer View is opposite [message #1058416 is a reply to message #1058408] Tue, 14 May 2013 04:27 Go to previous messageGo to next message
MOONKI PARK is currently offline MOONKI PARKFriend
Messages: 5
Registered: May 2013
Junior Member
Thanks to Eric Clayberg..
I want to get fixed ..
Where I get Fixed Version?
Please answer..

Version: Kepler Release
Build id: 20130509-1105

This Problem is still in Kepler .

[Updated on: Tue, 14 May 2013 05:07]

Report message to a moderator

Re: WindowBuilder Bug. Control position in Designer View is opposite [message #1058421 is a reply to message #1058403] Tue, 14 May 2013 05:04 Go to previous messageGo to next message
MOONKI PARK is currently offline MOONKI PARKFriend
Messages: 5
Registered: May 2013
Junior Member
No Message Body

[Updated on: Tue, 14 May 2013 05:08]

Report message to a moderator

Re: WindowBuilder Bug. Control position in Designer View is opposite [message #1058466 is a reply to message #1058416] Tue, 14 May 2013 09:21 Go to previous message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 979
Registered: July 2009
Location: Boston, MA
Senior Member
You can either wait for the next WindowBuilder build which will contain the fix, or you can drop down to an older version of Eclipse. Anything other than the most recent Juno update should work fine. For example, use 4.2.1 rather than 4.2.2 or 3.8.1 rather than 3.8.2.
Previous Topic:Launch configuration BreakDictionary references non-existing project.
Next Topic:JTable header invisible when created by addColumn()
Goto Forum:
  


Current Time: Wed Apr 24 23:55:58 GMT 2024

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

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

Back to the top