|
|
@ -9,10 +9,10 @@ import com.fr.design.gui.ibutton.UIColorButton; |
|
|
|
import com.fr.design.gui.ibutton.UIToggleButton; |
|
|
|
import com.fr.design.gui.ibutton.UIToggleButton; |
|
|
|
import com.fr.design.gui.icheckbox.UICheckBox; |
|
|
|
import com.fr.design.gui.icheckbox.UICheckBox; |
|
|
|
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.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
|
|
|
|
import com.fr.design.widget.FRWidgetFactory; |
|
|
|
import com.fr.form.ui.LayoutBorderStyle; |
|
|
|
import com.fr.form.ui.LayoutBorderStyle; |
|
|
|
import com.fr.form.ui.WidgetTitle; |
|
|
|
import com.fr.form.ui.WidgetTitle; |
|
|
|
import com.fr.general.FRFont; |
|
|
|
import com.fr.general.FRFont; |
|
|
@ -168,7 +168,7 @@ public class ComponentTitleStylePane extends AbstractBorderPackerPane { |
|
|
|
visibleCheckbox.setSelected(false); |
|
|
|
visibleCheckbox.setSelected(false); |
|
|
|
|
|
|
|
|
|
|
|
container.add(visibleCheckbox, BorderLayout.WEST); |
|
|
|
container.add(visibleCheckbox, BorderLayout.WEST); |
|
|
|
container.add(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title_Visible")), BorderLayout.CENTER); |
|
|
|
container.add(FRWidgetFactory.createLineWrapLabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title_Visible")), BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
|
|
visibleCheckbox.addChangeListener(new ChangeListener() { |
|
|
|
visibleCheckbox.addChangeListener(new ChangeListener() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -192,7 +192,7 @@ public class ComponentTitleStylePane extends AbstractBorderPackerPane { |
|
|
|
double[] columnSize = {this.uiLabelWidth, this.uiSettingWidth > 0 ? this.uiSettingWidth : f}; |
|
|
|
double[] columnSize = {this.uiLabelWidth, this.uiSettingWidth > 0 ? this.uiSettingWidth : f}; |
|
|
|
|
|
|
|
|
|
|
|
return TableLayoutHelper.createCommonTableLayoutPane( |
|
|
|
return TableLayoutHelper.createCommonTableLayoutPane( |
|
|
|
new JComponent[][]{{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title_Content")), textContentPane}}, |
|
|
|
new JComponent[][]{{FRWidgetFactory.createLineWrapLabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title_Content")), textContentPane}}, |
|
|
|
rowSize, columnSize, IntervalConstants.INTERVAL_L1); |
|
|
|
rowSize, columnSize, IntervalConstants.INTERVAL_L1); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -203,10 +203,10 @@ public class ComponentTitleStylePane extends AbstractBorderPackerPane { |
|
|
|
double[] columnSize = {this.uiLabelWidth, this.uiSettingWidth > 0 ? this.uiSettingWidth : f}; |
|
|
|
double[] columnSize = {this.uiLabelWidth, this.uiSettingWidth > 0 ? this.uiSettingWidth : f}; |
|
|
|
|
|
|
|
|
|
|
|
JComponent[][] components = new JComponent[][]{ |
|
|
|
JComponent[][] components = new JComponent[][]{ |
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title_Format")), fontFamilyComboBox}, |
|
|
|
{FRWidgetFactory.createLineWrapLabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title_Format")), FRGUIPaneFactory.createBorderLayoutNorthPaneWithComponent(fontFamilyComboBox)}, |
|
|
|
{null, createTitleFontButtonPane()}, |
|
|
|
{null, createTitleFontButtonPane()}, |
|
|
|
{insetImagePane, null}, |
|
|
|
{insetImagePane, null}, |
|
|
|
{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title_Text_Align")), alignPane}, |
|
|
|
{FRWidgetFactory.createLineWrapLabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Widget_Style_Title_Text_Align")), alignPane}, |
|
|
|
{backgroundPane, null} |
|
|
|
{backgroundPane, null} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|