fix log window margins (#4428) (#4451)

This commit is contained in:
Alexandru Ionut Tripon 2025-12-08 14:44:05 +02:00 committed by GitHub
commit 2e3097d5ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();
}