|
|
|
@ -5,6 +5,7 @@ import com.fr.base.theme.TemplateTheme;
|
|
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
|
import com.fr.design.designer.IntervalConstants; |
|
|
|
|
import com.fr.design.gui.frpane.FontSizeComboPane; |
|
|
|
|
import com.fr.design.gui.frpane.UINumberDragPaneWithPercent; |
|
|
|
|
import com.fr.design.gui.frpane.UIPercentDragPane; |
|
|
|
|
import com.fr.design.gui.ibutton.UIColorButton; |
|
|
|
|
import com.fr.design.gui.ibutton.UIToggleButton; |
|
|
|
@ -67,7 +68,7 @@ public class WidgetStyleEditPane<T extends TemplateTheme> extends BasicBeanPane<
|
|
|
|
|
* 控件背景和透明度配置面板 |
|
|
|
|
*/ |
|
|
|
|
protected NewColorSelectBox widgetBgColorSelectBox; |
|
|
|
|
protected UIPercentDragPane widgetBgAlphaDragPane; |
|
|
|
|
protected UINumberDragPaneWithPercent widgetBgAlphaDragPane; |
|
|
|
|
/** |
|
|
|
|
* 图标颜色 |
|
|
|
|
*/ |
|
|
|
@ -130,7 +131,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 UIPercentDragPane(); |
|
|
|
|
widgetBgAlphaDragPane = new UINumberDragPaneWithPercent(0, 100, 1); |
|
|
|
|
initLineBox(); |
|
|
|
|
borderRadiusSpinner = new UISpinner(0, Integer.MAX_VALUE, 1); |
|
|
|
|
iconColorSelectBox = new NewColorSelectBox(WidgetThemeDisplayConstants.THEME_WIDGET_COMPONENT_WIDTH, true); |
|
|
|
|