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

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

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              vdyakov Victor Dyakov
              Reporter:
              esubramasunw Elancheran Subramanian (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: