mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
action buttons top offset is too big on HiDPI devices
This commit is contained in:
@@ -482,7 +482,7 @@ public abstract class DialogWrapper {
|
||||
|
||||
JPanel panel = new JPanel(new BorderLayout());
|
||||
final JPanel lrButtonsPanel = new JPanel(new GridBagLayout());
|
||||
final Insets insets = SystemInfo.isMacOSLeopard ? JBUI.emptyInsets() : JBUI.insetsTop(8);
|
||||
final Insets insets = SystemInfo.isMacOSLeopard ? JBUI.emptyInsets() : new Insets(8, 0, 0, 0); //don't wrap to JBInsets
|
||||
|
||||
if (actions.length > 0 || leftSideActions.length > 0) {
|
||||
int gridX = 0;
|
||||
|
||||
Reference in New Issue
Block a user