|
|
|
@ -115,10 +115,7 @@ public abstract class ColorControlWindowWithAuto extends ColorControlWindow {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Dimension getPreferredSize() { |
|
|
|
|
if (isSupportTransparent()) { |
|
|
|
|
return new Dimension(super.getPreferredSize().width, TRANSPARENT_WINDOW_HEIGHT + BUTTON_HEIGHT); |
|
|
|
|
} |
|
|
|
|
return new Dimension(super.getPreferredSize().width, WINDOW_HEIGHT + BUTTON_HEIGHT); |
|
|
|
|
return super.getPreferredSize(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|