# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: C:\_mercurial\cdev\o.n.swing.dirchooser # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: src/org/netbeans/swing/dirchooser/DirectoryChooserUI.java --- src/org/netbeans/swing/dirchooser/DirectoryChooserUI.java Base (BASE) +++ src/org/netbeans/swing/dirchooser/DirectoryChooserUI.java Locally Modified (Based On LOCAL) @@ -689,6 +689,15 @@ return true; } + // #169303: on GTK or Nimbus L&F the row height can be initially set + // to 0 which disables the "large model" optimizations (#127170) + @Override + public void setRowHeight(int rowHeight) { + if (rowHeight > 0) { + super.setRowHeight(rowHeight); + } + } + // To work with different font sizes (#106223); see: http://www.javalobby.org/java/forums/t19562.html private boolean firstPaint = true; @Override