Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 389795

Summary: Implement setAlignment() in ToolbarLayout
Product: [Tools] GEF Reporter: Christian Pontesegger <christian.pontesegger>
Component: GEF-Legacy Draw2dAssignee: gef-inbox <gef-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: enhancement    
Priority: P3 CC: nyssen, willem.duminy
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Christian Pontesegger CLA 2012-09-18 05:07:46 EDT
Currently ToolbarLayout simply aligns from left to right (or top to bottom). Add a new method to allow to align to CENTER, BOTTOM/RIGHT.
Comment 1 Willem Duminy CLA 2012-12-08 12:33:47 EST
This feature have been available for quite some time.  The method to invoke is called setMinorAlignment().  Have a look ToolbarLayoutExample, I think it demonstrates the alignment options very nicely. 

URL to example source: http://eclipsesourcecode.appspot.com/jsrcs/org.eclipse.gef/examples/org.eclipse.draw2d.examples/src/org/eclipse/draw2d/examples/layouts/ToolbarLayoutExample.java.html
Comment 2 Alexander Nyßen CLA 2012-12-17 13:01:59 EST
Resolving as invalid due to the comments provided by Willem D. If that is not what you requested Christian, please re-open and add additional details to qualify your requirements.