|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
package com.fr.widgettheme.theme.edit.widget; |
|
|
|
|
|
|
|
|
|
import com.fr.base.background.ColorBackground; |
|
|
|
|
import com.fr.base.theme.TemplateTheme; |
|
|
|
|
import com.fr.design.gui.frpane.FontSizeComboPane; |
|
|
|
|
import com.fr.design.style.color.NewColorSelectBox; |
|
|
|
@ -56,8 +55,8 @@ public class MobileWidgetStyleEditPane<T extends TemplateTheme> extends WidgetSt
|
|
|
|
|
t.setMobileWidgetStyle(style); |
|
|
|
|
} |
|
|
|
|
colorSelectBox.setSelectObject(style.getThemeColor()); |
|
|
|
|
widgetBgColorSelectBox.setSelectObject(ColorUtils.ignoreColorAlpha(style.getSelectBackgroundColor())); |
|
|
|
|
widgetBgAlphaDragPane.populateBean(ColorUtils.roundColorAlphaDouble(style.getSelectBackgroundColor())); |
|
|
|
|
widgetBgColorSelectBox.setSelectObject(ColorUtils.ignoreColorAlpha(style.getWidgetBackground().getColor())); |
|
|
|
|
widgetBgAlphaDragPane.populateBean(ColorUtils.roundColorAlphaDouble(style.getWidgetBackground().getColor())); |
|
|
|
|
lineComboBox.setSelectedLineStyle(style.getBorderStyle().getLineType()); |
|
|
|
|
lineComboColorSelectBox.setSelectObject(style.getBorderStyle().getBorderColor()); |
|
|
|
|
iconColorSelectBox.setSelectObject(style.getIconColor()); |
|
|
|
|