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

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