|
|
@ -110,7 +110,7 @@ public class LayoutStylePane extends BasicBeanPane<LayoutBorderStyle> { |
|
|
|
|
|
|
|
|
|
|
|
JPanel titlePane = createTitleStylePane(); |
|
|
|
JPanel titlePane = createTitleStylePane(); |
|
|
|
JPanel bodyContentPane = currentIsRootLayout ? createBodyContentPane4RootLayout() : createBodyContentPane(); |
|
|
|
JPanel bodyContentPane = currentIsRootLayout ? createBodyContentPane4RootLayout() : createBodyContentPane(); |
|
|
|
JPanel backgroundPane = createBackgroundStylePane(); |
|
|
|
JPanel backgroundPane = createBackgroundStylePane(true); |
|
|
|
|
|
|
|
|
|
|
|
if (titlePane != null) { |
|
|
|
if (titlePane != null) { |
|
|
|
container.add(titlePane, BorderLayout.NORTH); |
|
|
|
container.add(titlePane, BorderLayout.NORTH); |
|
|
@ -135,14 +135,14 @@ public class LayoutStylePane extends BasicBeanPane<LayoutBorderStyle> { |
|
|
|
this.add(container, BorderLayout.CENTER); |
|
|
|
this.add(container, BorderLayout.CENTER); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected JPanel createBackgroundStylePane() { |
|
|
|
protected JPanel createBackgroundStylePane(boolean supportCornerRadius) { |
|
|
|
borderStyleCombo = new UIComboBox(BORDER_STYLE); |
|
|
|
borderStyleCombo = new UIComboBox(BORDER_STYLE); |
|
|
|
borderLineAndImagePane = new BorderLineAndImagePane(this.supportBorderImage); |
|
|
|
borderLineAndImagePane = new BorderLineAndImagePane(this.supportBorderImage); |
|
|
|
cornerSpinner = new UISpinner(0,1000,1,0); |
|
|
|
cornerSpinner = new UISpinner(0,1000,1,0); |
|
|
|
|
|
|
|
|
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
double f = TableLayout.FILL; |
|
|
|
double f = TableLayout.FILL; |
|
|
|
double[] rowSize = {p, p, p, p}; |
|
|
|
double[] rowSize = supportCornerRadius ? new double[] {p, p, p, p} : new double[]{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")); |
|
|
|
UILabel uiLabel = new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget-Style_Background_Style")); |
|
|
|