Summary: | FlowLayout inconsistently handles major and minor spacing | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] GEF | Reporter: | Alexander Nyßen <nyssen> | ||||
Component: | GEF-Legacy Draw2d | Assignee: | gef-inbox <gef-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | major | ||||||
Priority: | P3 | CC: | hudsonr | ||||
Version: | 3.6.1 | ||||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Alexander Nyßen
2011-01-26 12:07:57 EST
All you can do is fix the javadoc. "minor" means the children inside the rows. "major" refers to the major pieces, i.e. the rows themselves. So minor spacing is parallel to the row (when horizontal), but minor alignment is the vertical alignment within that horizontal row. (In reply to comment #1) > All you can do is fix the javadoc. "minor" means the children inside the rows. > "major" refers to the major pieces, i.e. the rows themselves. So minor > spacing is parallel to the row (when horizontal), but minor alignment is the > vertical alignment within that horizontal row. I fear you are right. However, this is really ugly, as major and minor alignment seem to be used in the opposite sense (i.e. they are used consistent with the current javadoc of minor and major spacing). Created attachment 211287 [details]
Javadoc Update for getMajorSpacing and setMajorSpacing
Expanded the explanation of what is the major spacing in both javadocs.
Arieh, could you upload a patch, please? That would make it easier to consume your contribution. |