We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d63707 commit a314fabCopy full SHA for a314fab
sierra/src/main/java/org/httprpc/sierra/TextPane.java
@@ -155,7 +155,7 @@ private void paint(Graphics2D graphics) {
155
156
var x = switch (horizontalAlignment) {
157
case LEFT -> insets.left;
158
- case RIGHT -> insets.right;
+ case RIGHT -> size.width - (lineWidth + insets.right);
159
case LEADING, TRAILING -> {
160
if (getComponentOrientation().isLeftToRight() ^ horizontalAlignment == HorizontalAlignment.TRAILING) {
161
yield insets.left;
0 commit comments