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

Win LAF: JToggleButton size is wrong when it is added to the JToolBar

XMLWordPrintable

      On Win LAF:

      When a JToggleButton is added to a toolbar, the size is wrong, i.e. the width of the ToggleButton is narrow.

      To reproduce this, run the attached test JToolBarLAFTest.

      - A frame with ToolBar displayed
      - Now observe the JToggleButton with label 'i' and the similar JToggleButton on Panel added at the Bottom. The JToggleButton's size on the JToolBar is entirely different, very narrow compare with the other one.

      Please refer the attached screen shot for more information.

            Unassigned Unassigned
            esubramasunw Elancheran Subramanian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: