xiaoxia 8 years ago
parent
commit
693e858233
  1. 2
      designer_form/src/com/fr/design/mainframe/widget/UITreeComboBox.java

2
designer_form/src/com/fr/design/mainframe/widget/UITreeComboBox.java

@ -209,7 +209,7 @@ class TreePopup extends JPopupMenu implements ComboPopup{
JTree tree = this.comboBox.getTree(); JTree tree = this.comboBox.getTree();
if(tree != null){ if(tree != null){
scrollPane = new UIScrollPane(tree); scrollPane = new UIScrollPane(tree);
scrollPane.setBorder(BorderFactory.createEmptyBorder(0,4,0,0)); scrollPane.setBorder(BorderFactory.createEmptyBorder(0,2,0,0));
add(scrollPane, BorderLayout.CENTER); add(scrollPane, BorderLayout.CENTER);
} }
} }

Loading…
Cancel
Save