mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Use setContentsMargins instead of setMargin
This commit is contained in:
@ -135,7 +135,7 @@ ServerConfigDialog::ServerConfigDialog(QWidget *parent)
|
||||
auto portWidgetLayout = new QHBoxLayout(this);
|
||||
portWidgetLayout->addWidget(port);
|
||||
portWidgetLayout->addWidget(accept);
|
||||
portWidgetLayout->setMargin(0);
|
||||
portWidgetLayout->setContentsMargins(0, 0, 0, 0);
|
||||
portWidget->setLayout(portWidgetLayout);
|
||||
portWidget->move(332, 244);
|
||||
// accept->move(514,149);
|
||||
|
Reference in New Issue
Block a user