Browse Source

newui缩放

fbp/release
renekton 3 months ago
parent
commit
e5915202d4
  1. 4
      designer-base/src/main/java/com/fr/design/style/color/SwatchChooserPanel.java

4
designer-base/src/main/java/com/fr/design/style/color/SwatchChooserPanel.java

@ -71,8 +71,8 @@ public class SwatchChooserPanel extends AbstractColorChooserPanel{
int width = numCols * cellWidth + (numCols - 1) * gap; int width = numCols * cellWidth + (numCols - 1) * gap;
Insets insets = getInsets(); Insets insets = getInsets();
return scale(new Dimension(width + insets.left + insets.right, return new Dimension(width + insets.left + insets.right,
height + insets.top + insets.bottom)); height + insets.top + insets.bottom);
} }
/** /**

Loading…
Cancel
Save