Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » WindowBuilder Bug. Control position in Designer View is opposite(windowbuilder sashform control position opposite)
WindowBuilder Bug. Control position in Designer View is opposite [message #1058405] Tue, 14 May 2013 00:46 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

public void createPartControl(Composite parent) {
FillLayout fl_parent = new FillLayout(SWT.HORIZONTAL);
Composite container = new Composite(parent, SWT.NONE);
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);

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));

textRight = new Text(compositeRight, SWT.BORDER);
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 #1062694 is a reply to message #1058405] Mon, 10 June 2013 12:07 Go to previous message
Matthias Eckert is currently offline Matthias EckertFriend
Messages: 1
Registered: June 2013
Junior Member
Any news/solution on this topic? I am facing the exact same problem since updating to Juno and WindowBuilder 1.5.2. . Pretty frustrating bug...
Previous Topic:Missing required plug-in
Next Topic:EditorPart: getClientArea() before Control is painted
Goto Forum:

Current Time: Tue Dec 07 19:44:41 GMT 2021

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

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

Back to the top