|
|
@ -397,7 +397,7 @@ public class VerticalFlowLayout implements LayoutManager, java.io.Serializable { |
|
|
|
if (ltr) { |
|
|
|
if (ltr) { |
|
|
|
m.setLocation(isAlignLeft ? x : newX, y); |
|
|
|
m.setLocation(isAlignLeft ? x : newX, y); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
m.setLocation(isAlignLeft ? x : newX, target.getHeight() - y - m.getHeight()); |
|
|
|
m.setLocation(isAlignLeft ? target.getWidth() - m.getWidth() - hgap : newX, target.getHeight() - y - m.getHeight()); |
|
|
|
} |
|
|
|
} |
|
|
|
y += m.getHeight() + vgap; |
|
|
|
y += m.getHeight() + vgap; |
|
|
|
} |
|
|
|
} |
|
|
|