Bug 244512 - FlowLayout does not fill major axis after resize
Summary: FlowLayout does not fill major axis after resize
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 normal
Target Milestone: ---   Edit
Assignee: Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 03:54 EDT by Jan Koehnlein CLA
Modified: 2010-07-19 12:28 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Koehnlein CLA 2008-08-19 03:54:54 EDT
Consider a class diagram. A class node has a name label, an attribute compartment and an operation compartment. I'd use a FlowLayout in the graphmodel to put these inner figures in a vertical fashion, e.g.

force single line: true
major alignment: FILL
major spacing: 5
match minor size: true
minor alignment: center
minor spacing: 5
vertical: true

That looks good as long as I don't change the size of the node. 

Now if I resize the node (e.g. direction "south") compartments stay the same size, and I get a strange gap between the last compartment and the class node's border.
Comment 1 Eclipse Webmaster CLA 2010-07-19 12:28:30 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug