Bug 330143

Summary: A patch to make RowLayout layout controls in reverse order on demand
Product: [Eclipse Project] Platform Reporter: Serge Yuschenko <Serge_Yuschenko>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: carolynmacleod4, eclipse.felipe
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
A patch for org.eclipse.swt.layout.RowLayout to layout controls in reverse order none

Description Serge Yuschenko CLA 2010-11-12 16:12:37 EST
Build Identifier: M20100909-0800

With the addition of public variable reverse the org.eclipse.swt.layout.RowLayout can display controls in reverse order. This feature eliminates necessity to re-create the controls.

...
view = new Composite( parent, SWT.NONE );
rowLayout = new RowLayout( SWT.HORIZONTAL );
view.setLayout( rowLayout );
...

public void changeOrder() {
  rowLayout.reverse = !rowLayout.reverse;
  view.redraw();
}

Reproducible: Always
Comment 1 Serge Yuschenko CLA 2010-11-12 16:15:35 EST
Created attachment 183044 [details]
A patch for org.eclipse.swt.layout.RowLayout to layout controls in reverse order
Comment 2 Carolyn MacLeod CLA 2010-11-15 09:54:18 EST
Just curious - what is your use case for this? I am not sure that it is something that is generally useful.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:09:36 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.