|
|
|
@ -34,6 +34,7 @@ import java.awt.Component;
|
|
|
|
|
|
|
|
|
|
import static com.fine.swing.ui.layout.Layouts.cell; |
|
|
|
|
import static com.fine.swing.ui.layout.Layouts.column; |
|
|
|
|
import static com.fine.swing.ui.layout.Layouts.row; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -68,7 +69,7 @@ public class WidgetStyleEditPane<T extends TemplateTheme> extends BasicBeanPane<
|
|
|
|
|
* 控件背景和透明度配置面板 |
|
|
|
|
*/ |
|
|
|
|
protected NewColorSelectBox widgetBgColorSelectBox; |
|
|
|
|
protected UINumberDragPaneWithPercent widgetBgAlphaDragPane; |
|
|
|
|
protected UIPercentDragPane widgetBgAlphaDragPane; |
|
|
|
|
/** |
|
|
|
|
* 图标颜色 |
|
|
|
|
*/ |
|
|
|
@ -131,7 +132,7 @@ public class WidgetStyleEditPane<T extends TemplateTheme> extends BasicBeanPane<
|
|
|
|
|
colorSelectBox = new NewColorSelectBox(WidgetThemeDisplayConstants.THEME_WIDGET_COMPONENT_WIDTH, true); |
|
|
|
|
colorSelectBox.setSelectObject(WidgetThemeDisplayConstants.DEFAULT_THEME_COLOR); |
|
|
|
|
widgetBgColorSelectBox = new NewColorSelectBox(WidgetThemeDisplayConstants.THEME_WIDGET_COMPONENT_WIDTH, true); |
|
|
|
|
widgetBgAlphaDragPane = new UINumberDragPaneWithPercent(0, 100, 1); |
|
|
|
|
widgetBgAlphaDragPane = new UIPercentDragPane(); |
|
|
|
|
initLineBox(); |
|
|
|
|
borderRadiusSpinner = new UISpinner(0, Integer.MAX_VALUE, 1); |
|
|
|
|
iconColorSelectBox = new NewColorSelectBox(WidgetThemeDisplayConstants.THEME_WIDGET_COMPONENT_WIDTH, true); |
|
|
|
|