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

JCombobox doesn't get resized according to font size change

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      generic, windows_nt

      Description

      Combobox don't get resized according to font size if L&F is changed at zero font size and than font size is increased again
      Steps to reproduce:
      1) Run the attached testcase TestResizeBehaviour
      2) Click on "Decrease font size" button till you see on
         console font size as Zero.
      3) Now change the Look and Feel to some other Look and Feel(Say motif) by going
         in Look and feel menu. Notice that checkbox size remains unchanged but
         changin L&F changes size of Combobox
      4) Now click sometimes on increase font size button to give font size of 10
         Notice: Checkbox will regain its old size and display text properly,
         But combo box appears still small and don't gain any size.

      Reproducible on tiger beta2 b40

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hsinghsunw Hemant Singh (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: