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

There is no way to stick widgets in QGridLayout

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      If all margins and spaces are set 0 to QGridLayout, there are still like border 1px in top/bottom and right/left sides. Then widgets on grid layout are never stick each other even calling below methods to set 0.

          ui->centralwidget->setContentsMargins(0, 0, 0, 0);
          ui->gridLayout->setSpacing(0);
      

      Expectation is those widgets on grid layout are sticked, but it seems there is no way for that. 

       

      Please see attached image and sample project.

        Attachments

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

          Activity

            People

            Assignee:
            smd Jan Arve
            Reporter:
            akizawa Akihito Izawa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes