|
|
@ -3,6 +3,7 @@ package com.fr.design.gui.style; |
|
|
|
import com.fine.theme.utils.FineLayoutBuilder; |
|
|
|
import com.fine.theme.utils.FineLayoutBuilder; |
|
|
|
import com.fr.base.Utils; |
|
|
|
import com.fr.base.Utils; |
|
|
|
import com.fr.base.svg.IconUtils; |
|
|
|
import com.fr.base.svg.IconUtils; |
|
|
|
|
|
|
|
import com.fr.design.constants.LayoutConstants; |
|
|
|
import com.fr.design.designer.IntervalConstants; |
|
|
|
import com.fr.design.designer.IntervalConstants; |
|
|
|
import com.fr.design.formula.TinyFormulaPane; |
|
|
|
import com.fr.design.formula.TinyFormulaPane; |
|
|
|
import com.fr.design.gui.ibutton.UIButtonGroup; |
|
|
|
import com.fr.design.gui.ibutton.UIButtonGroup; |
|
|
@ -191,7 +192,7 @@ public class ComponentTitleStylePane extends AbstractBorderPackerPane { |
|
|
|
|
|
|
|
|
|
|
|
return FineLayoutBuilder.compatibleTableLayout(10, |
|
|
|
return FineLayoutBuilder.compatibleTableLayout(10, |
|
|
|
new JComponent[][]{{FRWidgetFactory.createLineWrapLabel(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}}, |
|
|
|
new double[]{1.2, 3}); |
|
|
|
new double[]{LayoutConstants.LEFT_WEIGHT, LayoutConstants.RIGHT_WEIGHT}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private JPanel createTitleOtherSettingPane() { |
|
|
|
private JPanel createTitleOtherSettingPane() { |
|
|
@ -211,7 +212,7 @@ public class ComponentTitleStylePane extends AbstractBorderPackerPane { |
|
|
|
|
|
|
|
|
|
|
|
JPanel buttonPane = FineLayoutBuilder.compatibleTableLayout(10, new JComponent[][] { |
|
|
|
JPanel buttonPane = FineLayoutBuilder.compatibleTableLayout(10, new JComponent[][] { |
|
|
|
{fontSizeComboBox, fontColorSelectPane, fontItalicButton, fontBoldButton, fontUnderlineButton}, |
|
|
|
{fontSizeComboBox, fontColorSelectPane, fontItalicButton, fontBoldButton, fontUnderlineButton}, |
|
|
|
}, new double[]{1.2, 3}); |
|
|
|
}, new double[]{LayoutConstants.LEFT_WEIGHT, LayoutConstants.RIGHT_WEIGHT}); |
|
|
|
|
|
|
|
|
|
|
|
JPanel containerPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
JPanel containerPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
containerPane.add(buttonPane, BorderLayout.NORTH); |
|
|
|
containerPane.add(buttonPane, BorderLayout.NORTH); |
|
|
|