Browse Source

REPORT-64112 【模板主题】悬浮元素样式切换,上方的预览图没有即时生效

【问题原因】
没有给NameStyleListPane注册监听器,
导致选中项改变后未能触发预览面板变化

【改动思路】
同上
feature/x
Starryi 3 years ago
parent
commit
77ba71a7be
  1. 1
      designer-realize/src/main/java/com/fr/design/report/ReportStylePane.java

1
designer-realize/src/main/java/com/fr/design/report/ReportStylePane.java

@ -542,6 +542,7 @@ public class ReportStylePane extends BasicPane {
setLayout(FRGUIPaneFactory.createBorderLayout()); setLayout(FRGUIPaneFactory.createBorderLayout());
nameStyleListPane = new NameStyleListPane(false); nameStyleListPane = new NameStyleListPane(false);
nameStyleListPane.addChangeListener(this);
nameStyleListPane.setBorder(BorderFactory.createEmptyBorder()); nameStyleListPane.setBorder(BorderFactory.createEmptyBorder());
UIScrollPane scrollPane = new UIScrollPane(nameStyleListPane); UIScrollPane scrollPane = new UIScrollPane(nameStyleListPane);
scrollPane.setBorder(BorderFactory.createEmptyBorder(10, 5, 5, 0)); scrollPane.setBorder(BorderFactory.createEmptyBorder(10, 5, 5, 0));

Loading…
Cancel
Save