Layout of the 'graphic' in a Tab is wrong for tabs on left or right of TabPane

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 7u6
    • Affects Version/s: fx2.0.2, fx2.1
    • Component/s: javafx
    • Environment:

      Windows 7

      If you put the Tabs of a TabPane on Side.LEFT or RIGHT the text in a tab is always rotated, so if you don't want it rotated you need to put the text in a label with tab.setGraphic(), with tabPane.setRotateGraphic(false)

      However with side == LEFT or RIGHT I get truncated, centred text in the label, but the close buttons always appear. But if I set the min/max tab width/height to get non-truncated text, the close button only appears on the first tab. Also the screen-width and height are swapped round for LEFT and RIGHT relative to TOP and BOTTOM

      See discussion at https://forums.oracle.com/forums/thread.jspa?threadID=2328543

            Assignee:
            Kinsley Wong (Inactive)
            Reporter:
            Andy Walkland (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: