|
|
@ -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); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|