Browse Source

REPORT-3163 合作开发9.0设计器=>交互验收=》属性栏收起,没有tab是选中状态

master
plough 7 years ago
parent
commit
d624d79e52
  1. 7
      designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java

7
designer_base/src/com/fr/design/mainframe/EastRegionContainerPane.java

@ -220,6 +220,11 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
@Override @Override
public void onResize() { public void onResize() {
if (!isRightPaneVisible()) {
resetPropertyIcons();
} else {
refreshRightPane();
}
for (PropertyItem item : propertyItemMap.values()) { for (PropertyItem item : propertyItemMap.values()) {
item.onResize(); item.onResize();
} }
@ -377,6 +382,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
public void refreshRightPane() { public void refreshRightPane() {
// 可继承,就继承 // 可继承,就继承
if (selectedItem != null && selectedItem.isVisible() && selectedItem.isEnabled() && !selectedItem.isPoppedOut()) { if (selectedItem != null && selectedItem.isVisible() && selectedItem.isEnabled() && !selectedItem.isPoppedOut()) {
selectedItem.setTabButtonSelected();
propertyCard.show(rightPane, selectedItem.getName()); propertyCard.show(rightPane, selectedItem.getName());
return; return;
} }
@ -426,6 +432,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
} }
} }
private void resetPropertyIcons() { private void resetPropertyIcons() {
for (PropertyItem item : propertyItemMap.values()) { for (PropertyItem item : propertyItemMap.values()) {
item.resetButtonIcon(); item.resetButtonIcon();

Loading…
Cancel
Save