Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
parent
c648dedbde
commit
97b8365caf
17478 changed files with 606493 additions and 100744 deletions
|
@ -337,7 +337,10 @@ public class FlowLayout implements LayoutManager, Serializable
|
|||
|
||||
Insets ins = parent.getInsets ();
|
||||
|
||||
w += (num + 1) * hgap + ins.left + ins.right;
|
||||
if (num == 0)
|
||||
w += 2 * hgap + ins.left + ins.right;
|
||||
else
|
||||
w += (num + 1) * hgap + ins.left + ins.right;
|
||||
h += 2 * vgap + ins.top + ins.bottom;
|
||||
|
||||
return new Dimension (w, h);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue