Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.3
-
macos 10.15.7, xcode 12.1
-
-
080f0362593786ac547ad8e499565a322f40b0b3 (qt/tqtc-qtbase/5.15)
-
Bug Fixing Candidates
Description
The attached program and images show that the margins are wrong and clipped by a regression with 5.15.3 on macos.
Here's the part of code to produce. The sample is attached ( margins.zip )
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { auto container = new QWidget; auto grid = new QGridLayout( container ); auto button = new QPushButton( qVersion() ); grid->addWidget( button ); grid->setSpacing( 0 ); grid->setMargin( 0 ); setCentralWidget( container ); button->setFocus(); }