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

Suggestion for a way to customize the way the large toolbar expand when clicking the chevron

    XMLWordPrintable

Details

    Description

      It would be nice if there was a way to customize the way the toolbar expand when you click the chevron.

      In Qt 3 when a toolbar was too small to display its controls it would
      have a chevron to the right, and that would pop up a menu with the
      missing buttons. In Qt 4, the entire toolbar slides out one ore more new
      rows with the missing controls.

      The problem we have is the following: if
      only a few controls were missing the controls are left-justified, so you
      have to move the mouse pointer all the way back to the left to click
      something (see attached screencap, going from A to B). If you drift out
      of the toolbar area (eg when using a trackpad on a laptop), the toolbar
      collapses automatically.

      It would be nice if the following points were accomodated for in Qt:

      • reenable the old Qt 3 behavior (which seems easily doable from looking
        at the code, the functionality is just not exposed and limited to
        running on OSX in unified toolbar mode)
      • right-justify the controls so they are closer to the initial click
        location
      • have a optional timeout for the collapse, so it's more forgiving if
        you drift out

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes