diff --git a/designer-base/src/main/java/com/fr/design/layout/VerticalFlowLayout.java b/designer-base/src/main/java/com/fr/design/layout/VerticalFlowLayout.java index 2260de0be2..508abfadde 100644 --- a/designer-base/src/main/java/com/fr/design/layout/VerticalFlowLayout.java +++ b/designer-base/src/main/java/com/fr/design/layout/VerticalFlowLayout.java @@ -381,7 +381,6 @@ public class VerticalFlowLayout implements LayoutManager, java.io.Serializable { synchronized (target.getTreeLock()) { switch (newAlign) { case TOP: - y += ltr ? 0 : height; break; case CENTER: y += height / 2; @@ -397,7 +396,7 @@ public class VerticalFlowLayout implements LayoutManager, java.io.Serializable { if (ltr) { m.setLocation(isAlignLeft ? x : newX, y); } else { - m.setLocation(isAlignLeft ? target.getWidth() - m.getWidth() - x : newX, target.getHeight() - y - m.getHeight() / 2); + m.setLocation(isAlignLeft ? target.getWidth() - m.getWidth() - x : newX, y); } y += m.getHeight() + vgap; }