Browse Source

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

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

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

@ -44,7 +44,7 @@ import static com.fine.theme.utils.FineUIStyle.setStyle;
public class MenuDef extends ShortCut {
private static final int MENU_DEFAULTWDITH = 156;
private static final int BLANK_WIDTH = 18;
private static final int BLANK_WIDTH = 22;
private static final Set<String> FORBIDDEN_SET = new HashSet<>();
@ -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(new Dimension(FineUIScale.scale(popupMenuWidth), popupMenu.getPreferredSize().height));
popupMenu.setPopupSize(new Dimension(popupMenuWidth, popupMenu.getPreferredSize().height));
}

Loading…
Cancel
Save