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

JComboBox: Drawing is unexpected in GTKLookAndFeel when component heigth changes.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • client-libs
    • None

      Run attached application in JDS(The application's LookAndFeel have been set to "GTKLookAndFeel"),
      you will find the drawing of JComboBox is unexpected when component heigth changes.(see attached screenshot)
      The black triangle will resize by JComboBox size, but the width of the component don't change(getPreferredSize() return a wrong width,the text can't be shown.).

            peterz Peter Zhelezniakov
            pwusunw Paul Wu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: