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

Alignment settings for QToolBars in a Qt::ToolBarArea (Right-aligning toolbars)

    XMLWordPrintable

Details

    Description

      QToolBars added to QMainWindow align to the left side of the TopToolBarArea. QMainWindows layout does this automatically and the behavior can't be changed. In some use cases it would be useful to be able to align some tool bars to the right side. With the requested feature the alignment could be set differently for each individual tool bar in the area: some align to the left, some to the right. The API could be something like 'void QMainWindow::addToolBar(Qt::ToolBarArea area, Qt::Alignment alignment, QToolBar *toolbar)'

      Attachments

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

        Activity

          People

            smd Jan Arve
            risto.sipola Risto Sipola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes