RFR: 8301606: JFileChooser file chooser details view "size" label cut off in Metal Look&Feel

Alexey Ivanov aivanov at openjdk.org
Wed Jun 14 21:10:57 UTC 2023


On Wed, 14 Jun 2023 15:50:29 GMT, Tejesh R <tr at openjdk.org> wrote:

> Although this might be a bug in insets but for this issue, I guess in native filechooser, "Size" is left aligned which is what we follow.. I think in Java Windows L&F too, it is right aligned which I think we should rectify otherwise it can come as another bug that we are not following native look..

Java L&F may not follow what native File Explorers / Navigators do — after all, it's a Java Look-and-Feel.

On Windows, Explorer displays the Size header left-aligned as all other headers, yet the values in the Size column are right-aligned. If Swing doesn't allow different alignment for the header cell and data cells in a column, then we should preserve right-alignment.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14464#issuecomment-1591988020



More information about the client-libs-dev mailing list