Browse Source

REPORT-58067 【主题切换】细节定制-FRM组件样式-标题里多了个“文本”的设置

【问题原因】
修改标题设置项中标题内容项的可见条件

【改动思路】
同上
research/11.0
Starryi 3 years ago
parent
commit
5e8dd4a0d1
  1. 4
      designer-base/src/main/java/com/fr/design/gui/style/ComponentTitleStylePane.java

4
designer-base/src/main/java/com/fr/design/gui/style/ComponentTitleStylePane.java

@ -234,8 +234,8 @@ public class ComponentTitleStylePane extends AbstractBorderPackerPane {
TitlePacker widgetTitle = style == null ? new WidgetTitle() : style.getTitle(); TitlePacker widgetTitle = style == null ? new WidgetTitle() : style.getTitle();
widgetTitle = widgetTitle == null ? new WidgetTitle() : widgetTitle; widgetTitle = widgetTitle == null ? new WidgetTitle() : widgetTitle;
boolean titleVisible = style != null && style.getType() != LayoutBorderStyle.STANDARD; boolean titleVisible = style != null && style.getType() != LayoutBorderStyle.STANDARD;
visibleCheckbox.setSelected(isSupportTitleContent && titleVisible); visibleCheckbox.setSelected(isSupportTitleVisible && titleVisible);
titleContentPane.setVisible(titleVisible); titleContentPane.setVisible(isSupportTitleContent && titleVisible);
titleOtherSettingPane.setVisible(isSupportTitleOtherSetting && titleVisible); titleOtherSettingPane.setVisible(isSupportTitleOtherSetting && titleVisible);
this.textContentPane.populateBean(widgetTitle.getTextObject().toString()); this.textContentPane.populateBean(widgetTitle.getTextObject().toString());

Loading…
Cancel
Save