mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Platform: OS X scrollbars (incorrectly calculated indents fixed)
This commit is contained in:
@@ -223,9 +223,7 @@ public class JBScrollPane extends JScrollPane {
|
||||
viewport.setBounds(viewportBounds);
|
||||
Insets insets = container.getInsets();
|
||||
if (insets == null) insets = new Insets(0, 0, 0, 0);
|
||||
layeredPane.setBounds(insets.left, insets.top,
|
||||
container.getWidth() - insets.right - insets.left,
|
||||
container.getHeight() - insets.top - insets.bottom);
|
||||
layeredPane.setBounds(0, 0, container.getWidth() - insets.right, container.getHeight() - insets.bottom);
|
||||
}
|
||||
|
||||
private static boolean shouldExtendViewportUnderScrollbar(@Nullable JScrollBar scrollbar) {
|
||||
|
||||
Reference in New Issue
Block a user