Browse Source

控件管理/报表填报属性/超级链接/服务器参数

newui
renekton 4 months ago
parent
commit
ef597debb6
  1. 2
      designer-base/src/main/java/com/fr/design/menu/MenuDef.java

2
designer-base/src/main/java/com/fr/design/menu/MenuDef.java

@ -566,7 +566,7 @@ public class MenuDef extends ShortCut {
private void updatePopupMenuSize() {
int preferredWidth = popupMenu.getPreferredSize().width - BLANK_WIDTH; // 减少行尾的空白部分
int popupMenuWidth = preferredWidth > MENU_DEFAULTWDITH ? preferredWidth : MENU_DEFAULTWDITH;
popupMenu.setPopupSize(FineUIScale.scale(new Dimension(popupMenuWidth, popupMenu.getPreferredSize().height)));
popupMenu.setPopupSize(new Dimension(FineUIScale.scale(popupMenuWidth), popupMenu.getPreferredSize().height));
}

Loading…
Cancel
Save