Browse Source

REPORT-111299 控件扩展样式-复选框组扩展样式

feat:调整移动端单选框组样式;扩展复选框组样式
feature/x
Crawford.Zhou 10 months ago
parent
commit
9075a8cdd3
  1. 3
      designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/radiogroup/ImageCustomDefinePane.java
  2. 2
      designer-base/src/main/java/com/fr/design/mainframe/mobile/utils/DesignerUtils.java

3
designer-base/src/main/java/com/fr/design/mainframe/mobile/ui/radiogroup/ImageCustomDefinePane.java

@ -29,7 +29,6 @@ import java.awt.*;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.util.ArrayList;
import java.util.Arrays;
public class ImageCustomDefinePane extends MobileStyleCustomDefinePane {
@ -163,7 +162,6 @@ public class ImageCustomDefinePane extends MobileStyleCustomDefinePane {
layoutTypeCombo.addItemListener(new ItemListener() {
@Override
public void itemStateChanged(ItemEvent e) {
System.out.println(layoutTypeCombo.getSelectedIndex());
if (layoutTypeCombo.getSelectedIndex() == 0) {
buttonAlignPane.setVisible(true);
columnSizePane.setVisible(false);
@ -185,7 +183,6 @@ public class ImageCustomDefinePane extends MobileStyleCustomDefinePane {
Toolkit.i18nText("Fine-Plugin-RadioGroup_Alignment_Nature"),
Toolkit.i18nText("Fine-Plugin-RadioGroup_Alignment_Split"),
});
buttonAlignCombo.setSelectedIndex(DesignerUtils.kAlignSpit);
buttonAlignCombo.setPreferredSize(new Dimension(DesignerUtils.LARGE_COMBO_WIDTH, 20));
buttonAlignPane = TableLayoutHelper.createGapTableLayoutPane(new Component[][]{new Component[]{buttonAlignLabel, buttonAlignCombo}}, TableLayoutHelper.FILL_LASTCOLUMN, IntervalConstants.INTERVAL_L1, LayoutConstants.VGAP_SMALL);

2
designer-base/src/main/java/com/fr/design/mainframe/mobile/utils/DesignerUtils.java

@ -23,7 +23,7 @@ public class DesignerUtils {
public static final int kAlignLeft = 0;
public static final int kAlignCenter = 1;
public static final int kAlignSpit = 1;
public static final int kAlignSplit = 1;
public static final int[] BORDER_LINE_STYLE_ARRAY = new int[]{
Constants.LINE_NONE,
Constants.LINE_THIN,

Loading…
Cancel
Save