mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
IJPL-449 Sticky lines: fix for incorrect status component position
GitOrigin-RevId: c275259c6bd309f12a0819f0ba57c6c259616ce2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
05805ef45f
commit
2d497bd66e
@@ -5619,8 +5619,8 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
|
||||
c.setBounds(r.width - d.width - rightInsets - 20, 20, d.width, d.height);
|
||||
} else if (!(c instanceof StickyLinesPanel)) {
|
||||
// Status component
|
||||
int statusComponentX = myPanel.getWidth() - c.getWidth();
|
||||
c.setLocation(statusComponentX, 0);
|
||||
Dimension d = c.getPreferredSize();
|
||||
c.setBounds(r.width - d.width, 0, d.width, d.height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user