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

Please add mode for QWidgets to visualize layout indicators

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9.0

    Description

      This is a feature request for Qt Widgets module, not Qt Dedigner, but the interface did not seem to offer low level libraries as a "project".

       

      When adding widgets to layouts programmatically, sometimes the layout renders in unexpected ways e.g. gaps/alignment issues. I find this happens mostly when using QGridLayout.

       

      Please add something like

       

          QWidget :: setRenderLayoutHints (bool)

       

      to enable a render mode in which the widget will render indicators of how the layout is working. For example, for QGridLayout this would render an overlay of grid lines.

      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
            spraff Bernie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes