Browse Source

移动端单元格控件

persist/11.0-arabic
obo 4 months ago
parent
commit
3502f53eb0
  1. 2
      designer-base/src/main/java/com/fr/design/widget/mobile/WidgetMobilePane.java
  2. 2
      designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/component/MobileTextEditSettingPane.java
  3. 1
      designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/component/MobileTextFieldInputSettingPane.java

2
designer-base/src/main/java/com/fr/design/widget/mobile/WidgetMobilePane.java

@ -1,5 +1,6 @@
package com.fr.design.widget.mobile; package com.fr.design.widget.mobile;
import com.fr.base.i18n.BidiUtils;
import com.fr.design.gui.ilable.UILabel; import com.fr.design.gui.ilable.UILabel;
import com.fr.design.layout.FRGUIPaneFactory; import com.fr.design.layout.FRGUIPaneFactory;
import com.fr.form.ui.Widget; import com.fr.form.ui.Widget;
@ -19,6 +20,7 @@ public class WidgetMobilePane extends JPanel {
public WidgetMobilePane() { public WidgetMobilePane() {
this.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); this.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
init(); init();
BidiUtils.applyOrientationByLocale(this);
} }
protected void init() { protected void init() {

2
designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/component/MobileTextEditSettingPane.java

@ -1,5 +1,6 @@
package com.fr.design.widget.ui.designer.mobile.component; package com.fr.design.widget.ui.designer.mobile.component;
import com.fr.base.i18n.BidiUtils;
import com.fr.base.mobile.MobileTextEditAttr; import com.fr.base.mobile.MobileTextEditAttr;
import com.fr.design.beans.BasicBeanPane; import com.fr.design.beans.BasicBeanPane;
import com.fr.design.gui.icheckbox.UICheckBox; import com.fr.design.gui.icheckbox.UICheckBox;
@ -24,6 +25,7 @@ public class MobileTextEditSettingPane extends BasicBeanPane<MobileTextEditAttr>
initLayout(); initLayout();
allowOneClickClear = new UICheckBox(Toolkit.i18nText("Fine-Design_Mobile_Allow_One_Click_Clear"), getClearDefaultState()); allowOneClickClear = new UICheckBox(Toolkit.i18nText("Fine-Design_Mobile_Allow_One_Click_Clear"), getClearDefaultState());
this.add(allowOneClickClear, BorderLayout.NORTH); this.add(allowOneClickClear, BorderLayout.NORTH);
BidiUtils.applyOrientationByLocale(this);
} }
protected boolean getClearDefaultState() { protected boolean getClearDefaultState() {

1
designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/component/MobileTextFieldInputSettingPane.java

@ -1,5 +1,6 @@
package com.fr.design.widget.ui.designer.mobile.component; package com.fr.design.widget.ui.designer.mobile.component;
import com.fr.base.i18n.BidiUtils;
import com.fr.base.mobile.MobileScanCodeAttr; import com.fr.base.mobile.MobileScanCodeAttr;
import com.fr.design.beans.BasicBeanPane; import com.fr.design.beans.BasicBeanPane;
import com.fr.design.constants.LayoutConstants; import com.fr.design.constants.LayoutConstants;

Loading…
Cancel
Save