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

QWidgetAction not aligned centered in a vertical QToolBar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.6.0
    • 4.4.0
    • GUI: Look'n'Feel
    • None

      When you have a vertical toolbar with very long actions (e.g. long names) and short actions (just an image or short name), then the toolbar is resized to the width of the longest action and the other actions are aligned centered.
      However that doesn't work for QWidgetAction based actions that create a custom widget via QWidget* createWidget( QWidget* )
      These widgets are shown left aligned, which looks quite ugly.

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

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes