Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6495117

GTK L&F: non-default JButtons sized differently than native

XMLWordPrintable

    • Fix Understood
    • generic
    • generic

      We're getting closer to ideal sizing of JButtons under GTK L&F
      after the fixes for:
      6489585: GTK L&F: buttons, checkboxes, and radiobuttons are sized incorrectly
      6479305: GTK L&F: more toolbar issues

      But while investigating 6479305, it was discovered that we are always leaving
      enough space for the "default-border", even though most JButtons are not actually
      the "default button" (i.e. isDefaultButton() returns false). Ideally we would
      only include room for the "default-border" if the button is in fact the default one.
      Unfortunately, the ideal solution is complicated. See comments section for an
      email thread on the topic.

            peterz Peter Zhelezniakov
            campbell Christopher Campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: