|
|
|
@ -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); |
|
|
|
|
|
|
|
|
|