|
|
|
@ -18,13 +18,10 @@ import com.fr.form.ui.Widget;
|
|
|
|
|
import com.fr.form.ui.mobile.MobileStyle; |
|
|
|
|
import com.fr.general.FRFont; |
|
|
|
|
import com.fr.invoke.Reflect; |
|
|
|
|
import com.fr.locale.InterProviderFactory; |
|
|
|
|
import com.fr.stable.Constants; |
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import javax.swing.border.TitledBorder; |
|
|
|
|
import javax.swing.event.ChangeEvent; |
|
|
|
|
import javax.swing.event.ChangeListener; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Color; |
|
|
|
|
import java.awt.Component; |
|
|
|
@ -136,7 +133,7 @@ public class MobileStyleDefinePane extends BasicBeanPane<MobileStyle> {
|
|
|
|
|
this.add(commomPane, BorderLayout.NORTH); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
customCombo = new UIComboBox(new String[]{Toolkit.i18nText("Fine-Design_Mobile_Default"), Toolkit.i18nText("FIne-Design_Mobile_Custom")}); |
|
|
|
|
customCombo = new UIComboBox(new String[]{Toolkit.i18nText("Fine-Design_Mobile_Default"), Toolkit.i18nText("Fine-Design_Mobile_Custom")}); |
|
|
|
|
customCombo.setSelectedIndex(0); |
|
|
|
|
customCombo.setPreferredSize(new Dimension(NORMAL_COMBO_WIDTH + 15, 20)); |
|
|
|
|
customCombo.addItemListener(new ItemListener() { |
|
|
|
@ -146,7 +143,7 @@ public class MobileStyleDefinePane extends BasicBeanPane<MobileStyle> {
|
|
|
|
|
settingPane.setVisible(custom); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
commomPane.add(createLeftRightComponentsPane(createConfigLabel(Toolkit.i18nText("Fine-Design_Mobile_Attribute_setting")), customCombo)); |
|
|
|
|
commomPane.add(createLeftRightComponentsPane(createConfigLabel(Toolkit.i18nText("Fine-Design_Mobile_Attribute_Settings")), customCombo)); |
|
|
|
|
|
|
|
|
|
settingPane = FRGUIPaneFactory.createVerticalFlowLayout_Pane(true, FlowLayout.LEADING, 0, 10); |
|
|
|
|
settingPane.setVisible(false); |
|
|
|
|