Skip to content

Commit fc6449a

Browse files
authored
Fixed placeholder position in some layouts (#1193)
1 parent ff8eaaa commit fc6449a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

richtextfx/src/main/java/org/fxmisc/richtext/GenericStyledArea.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1775,7 +1775,7 @@ protected void layoutChildren() {
17751775
if (holder.isResizable()) holder.autosize();
17761776
if (positionPlaceholder) Region.positionInArea
17771777
(
1778-
holder, getLayoutX(), getLayoutY(), getWidth(), getHeight(), getBaselineOffset(),
1778+
holder, 0, 0, getWidth(), getHeight(), getBaselineOffset(),
17791779
ins, placeHolderPos.getHpos(), placeHolderPos.getVpos(), isSnapToPixel()
17801780
);
17811781
}

0 commit comments

Comments
 (0)