Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83455

Add method to set QTabBar Tab alignment

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.14.2
    • GUI: Look'n'Feel
    • None
    • All

    Description

      Qt stylesheets allow complete customization of the widgets including QTabBar. In some cases Tabs don't look like traditional tabs any more, which is the case with our application.

      However, the QTabBar alignment is limited to native tab alignment i.e. Left on Windows and Middle on macOS. While its understandable to have that limitation when Native UI is being rendered, but in cases of custom styled QTabBar its a huge limitation. 

      Proposed method:
      void QTabBar::setAlignment(Qt::Alignment alignment);

      Calling this method forces specific tab alignment i.e. Left, Center, Right.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            taytoo Mike Flanigan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes