fix log window margins (#4428)

closes #4428
Signed-off-by: Tayou <git@tayou.org>
This commit is contained in:
Tayou 2025-12-08 13:12:50 +01:00
parent 45fd2a89ad
commit 0e68ba900f
No known key found for this signature in database
GPG key ID: AAAF6C17E5E51872

View file

@ -12,7 +12,8 @@ ViewLogWindow::ViewLogWindow(QWidget* parent)
setWindowTitle(tr("View Launcher Logs"));
setCentralWidget(m_page);
setMinimumSize(m_page->size());
setContentsMargins(0, 0, 0, 0);
setContentsMargins(6, 6, 0, 6); // the "Other Logs" instance page has 6px padding on the right,
// to have equal padding in all directions in the dialog we add it to all other sides.
m_page->opened();
show();
}