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

Layouts cannot have zero margins in macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.2
    • Widgets: Layout
    • None
    • macOS

    Description

      Even with 

      layout->setContentsMargins(0, 0, 0, 0);
      layout->setSpacing(0);
      

      I still cannot eliminate the margins of layout on macOS. If the layout contains only one widget, the rendering is totally fine. This problem becomes serious when I try to use complex editor for item delegate (as in fig. 2).

      Attachments

        Issue Links

          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
              yuanxun Xun Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes