Browse Source

Made buttons in file chooser focusable.

pull/97/head
weisj 5 years ago
parent
commit
fff556ea1b
  1. 2
      core/src/main/java/com/github/weisj/darklaf/ui/filechooser/DarkFileChooserUI.java

2
core/src/main/java/com/github/weisj/darklaf/ui/filechooser/DarkFileChooserUI.java

@ -107,7 +107,6 @@ public class DarkFileChooserUI extends DarkFileChooserUIBridge {
upFolderButton.putClientProperty(DarkButtonUI.KEY_NO_SHADOW_OVERWRITE, true);
upFolderButton.putClientProperty(DarkButtonUI.KEY_SQUARE, true);
upFolderButton.putClientProperty(DarkButtonUI.KEY_ALT_ARC, true);
upFolderButton.setFocusable(false);
upFolderButton.setText(null);
upFolderButton.setIcon(upFolderIcon);
upFolderButton.setToolTipText(upFolderToolTipText);
@ -176,7 +175,6 @@ public class DarkFileChooserUI extends DarkFileChooserUIBridge {
listViewButton.setMargin(shrinkwrap);
listViewButton.addActionListener(filePane.getViewTypeAction(FilePane.VIEWTYPE_LIST));
topButtonPanel.add(listViewButton);
topButtonPanel.add(Box.createRigidArea(hstrut5));
viewButtonGroup.add(listViewButton);
// Details Button

Loading…
Cancel
Save