IDEA-299042 Run widget popup: inline actions have incorrect width
[idea/community.git] / platform / util / ui / src / com / intellij / util / ui / JBUI.java
index 65fa1d01b687fa3186f59f17a4bc4c5a962efd53..f25b6abeead0990d281601e7542a88688870e6c0 100644 (file)
@@ -1330,6 +1330,10 @@ public final class JBUI {
         return result <= 0 ? defaultHeight : result;
       }
 
+      static int buttonLeftRightInsets() {
+        return getInt("List.Button.leftRightInset", 8);
+      }
+
       final class Selection {
         private static final Color BACKGROUND = JBColor.namedColor("List.selectionBackground", DEFAULT_RENDERER_SELECTION_BACKGROUND);
         private static final Color FOREGROUND = JBColor.namedColor("List.selectionForeground", Label.foreground(true));