mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-128753: correct table column and row header bounds for overlaid scrollbars on Mac
This commit is contained in:
@@ -235,7 +235,7 @@ public class JBScrollPane extends JScrollPane {
|
||||
}
|
||||
if (colHead != null) {
|
||||
Rectangle headerBounds = colHead.getBounds();
|
||||
headerBounds.width = viewportBounds.width - headerBounds.x;
|
||||
headerBounds.width = viewportBounds.width;
|
||||
colHead.setBounds(headerBounds);
|
||||
}
|
||||
hideFromView(layout.getCorner(UPPER_RIGHT_CORNER));
|
||||
@@ -249,7 +249,7 @@ public class JBScrollPane extends JScrollPane {
|
||||
}
|
||||
if (rowHead != null) {
|
||||
Rectangle headerBounds = rowHead.getBounds();
|
||||
headerBounds.height = viewportBounds.height - headerBounds.y;
|
||||
headerBounds.height = viewportBounds.height;
|
||||
rowHead.setBounds(headerBounds);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user