|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.fr.design.dialog; |
|
|
|
package com.fr.design.dialog; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
import com.fr.design.gui.icombobox.UIComboBox; |
|
|
|
import com.fr.design.gui.icombobox.UIComboBox; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
@ -39,8 +40,8 @@ public abstract class AbstractTemplateServerSettingPane extends BasicPane { |
|
|
|
UILabel belowSetLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Blow_Set")); |
|
|
|
UILabel belowSetLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Blow_Set")); |
|
|
|
belowSetLabel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 20)); |
|
|
|
belowSetLabel.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 20)); |
|
|
|
buttonPane = GUICoreUtils.createFlowPane(new Component[] { |
|
|
|
buttonPane = GUICoreUtils.createFlowPane(new Component[] { |
|
|
|
belowSetLabel, chooseComboBox}, FlowLayout.LEFT, 0, 0); |
|
|
|
belowSetLabel, chooseComboBox}, BidiUtils.rtl() ? FlowLayout.RIGHT : FlowLayout.LEFT, 0, 0); |
|
|
|
buttonPane.setBorder(BorderFactory.createEmptyBorder(10, 20, 0, 0)); |
|
|
|
buttonPane.setBorder(BorderFactory.createEmptyBorder(10, 20, 0, 20)); |
|
|
|
|
|
|
|
|
|
|
|
this.setLayout(new BorderLayout()); |
|
|
|
this.setLayout(new BorderLayout()); |
|
|
|
this.add(buttonPane, BorderLayout.NORTH); |
|
|
|
this.add(buttonPane, BorderLayout.NORTH); |
|
|
|