|
|
|
@ -24,6 +24,7 @@ import com.fr.form.ui.mobile.radiogroup.ImageMobileStyle;
|
|
|
|
|
import com.fr.general.FRFont; |
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
|
import javax.swing.border.EmptyBorder; |
|
|
|
|
import javax.swing.event.ChangeEvent; |
|
|
|
|
import javax.swing.event.ChangeListener; |
|
|
|
|
import java.awt.*; |
|
|
|
@ -281,18 +282,22 @@ public class ImageCustomDefinePane extends MobileStyleCustomDefinePane {
|
|
|
|
|
|
|
|
|
|
UILabel initialLabel = DesignerUtils.createConfigLabel(Toolkit.i18nText("Fine-Plugin-RadioGroup_Icon_Init")); |
|
|
|
|
UILabel selectedLabel = DesignerUtils.createConfigLabel(Toolkit.i18nText("Fine-Plugin-RadioGroup_Icon_Select")); |
|
|
|
|
initialLabel.setVerticalAlignment(SwingConstants.TOP); |
|
|
|
|
initialLabel.setBorder(new EmptyBorder(5, 0, 0, 0)); |
|
|
|
|
selectedLabel.setVerticalAlignment(SwingConstants.TOP); |
|
|
|
|
selectedLabel.setBorder(new EmptyBorder(5, 0, 0, 0)); |
|
|
|
|
initInitialIconConfigPane(); |
|
|
|
|
initSelectedIconConfigPane(); |
|
|
|
|
JPanel container = FRGUIPaneFactory.createVerticalFlowLayout_Pane(true, FlowLayout.LEADING, 0, 5); |
|
|
|
|
|
|
|
|
|
JPanel initialPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
|
initialPane.add(initialLabel); |
|
|
|
|
initialPane.add(initialIconConfigPane); |
|
|
|
|
JPanel initialPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
initialPane.add(initialLabel, BorderLayout.WEST); |
|
|
|
|
initialPane.add(initialIconConfigPane, BorderLayout.CENTER); |
|
|
|
|
container.add(initialPane); |
|
|
|
|
|
|
|
|
|
JPanel selectedPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
|
selectedPane.add(selectedLabel); |
|
|
|
|
selectedPane.add(selectedIconConfigPane); |
|
|
|
|
JPanel selectedPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
selectedPane.add(selectedLabel, BorderLayout.WEST); |
|
|
|
|
selectedPane.add(selectedIconConfigPane, BorderLayout.CENTER); |
|
|
|
|
container.add(selectedPane); |
|
|
|
|
|
|
|
|
|
centerPane.add(container); |
|
|
|
|