|
|
@ -138,8 +138,13 @@ public class LayoutStylePane extends BasicBeanPane<LayoutBorderStyle> { |
|
|
|
double[] rowSize = {p, p, p, p}; |
|
|
|
double[] rowSize = {p, p, p, p}; |
|
|
|
double[] columnSize = {SETTING_LABEL_WIDTH, f}; |
|
|
|
double[] columnSize = {SETTING_LABEL_WIDTH, f}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UILabel uiLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget-Style_Background_Style")); |
|
|
|
|
|
|
|
Font font = uiLabel.getFont().deriveFont(Font.BOLD); |
|
|
|
|
|
|
|
uiLabel.setFont(font); |
|
|
|
|
|
|
|
uiLabel.setForeground(new Color(143, 143, 146)); |
|
|
|
|
|
|
|
|
|
|
|
JPanel contentPane = TableLayoutHelper.createGapTableLayoutPane(new JComponent[][]{ |
|
|
|
JPanel contentPane = TableLayoutHelper.createGapTableLayoutPane(new JComponent[][]{ |
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget-Style_Background_Style")), null}, |
|
|
|
{uiLabel, null}, |
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Render_Style")), borderStyleCombo}, |
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Render_Style")), borderStyleCombo}, |
|
|
|
{this.borderLineAndImagePane, null}, |
|
|
|
{this.borderLineAndImagePane, null}, |
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Radius")), cornerSpinner}, |
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Radius")), cornerSpinner}, |
|
|
@ -168,8 +173,12 @@ public class LayoutStylePane extends BasicBeanPane<LayoutBorderStyle> { |
|
|
|
this.backgroundPane, |
|
|
|
this.backgroundPane, |
|
|
|
this.backgroundOpacityPane); |
|
|
|
this.backgroundOpacityPane); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UILabel uiLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget-Style_Body_Content")); |
|
|
|
|
|
|
|
Font font = uiLabel.getFont().deriveFont(Font.BOLD); |
|
|
|
|
|
|
|
uiLabel.setFont(font); |
|
|
|
|
|
|
|
uiLabel.setForeground(new Color(143, 143, 146)); |
|
|
|
JPanel contentPane = TableLayoutHelper.createGapTableLayoutPane(new JComponent[][]{ |
|
|
|
JPanel contentPane = TableLayoutHelper.createGapTableLayoutPane(new JComponent[][]{ |
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget-Style_Body_Content")), null}, |
|
|
|
{uiLabel, null}, |
|
|
|
{bodyBackground, null}, |
|
|
|
{bodyBackground, null}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
rowSize, columnSize, IntervalConstants.INTERVAL_L1, IntervalConstants.INTERVAL_L1); |
|
|
|
rowSize, columnSize, IntervalConstants.INTERVAL_L1, IntervalConstants.INTERVAL_L1); |
|
|
@ -298,8 +307,12 @@ public class LayoutStylePane extends BasicBeanPane<LayoutBorderStyle> { |
|
|
|
visibleComposedPane.add(titleVisibleCheckbox, BorderLayout.WEST); |
|
|
|
visibleComposedPane.add(titleVisibleCheckbox, BorderLayout.WEST); |
|
|
|
visibleComposedPane.add(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title_Visible")), BorderLayout.CENTER); |
|
|
|
visibleComposedPane.add(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title_Visible")), BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UILabel uiLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title")); |
|
|
|
|
|
|
|
Font font = uiLabel.getFont().deriveFont(Font.BOLD); |
|
|
|
|
|
|
|
uiLabel.setFont(font); |
|
|
|
|
|
|
|
uiLabel.setForeground(new Color(143, 143, 146)); |
|
|
|
JPanel topPane = TableLayoutHelper.createCommonTableLayoutPane( new JComponent[][] { |
|
|
|
JPanel topPane = TableLayoutHelper.createCommonTableLayoutPane( new JComponent[][] { |
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title")), null}, |
|
|
|
{uiLabel, null}, |
|
|
|
{visibleComposedPane, null} |
|
|
|
{visibleComposedPane, null} |
|
|
|
}, new double[]{p, p}, new double[]{SETTING_LABEL_WIDTH, p}, IntervalConstants.INTERVAL_L1); |
|
|
|
}, new double[]{p, p}, new double[]{SETTING_LABEL_WIDTH, p}, IntervalConstants.INTERVAL_L1); |
|
|
|
topPane.setBorder(BorderFactory.createEmptyBorder(10, 0, 10, 0)); |
|
|
|
topPane.setBorder(BorderFactory.createEmptyBorder(10, 0, 10, 0)); |
|
|
|