1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-18 20:40:43 +01:00

Enforce the correct minimum width on settings dialog pages so they don't appear clipped horizontally

This commit is contained in:
David Sansome 2011-08-14 20:19:54 +01:00
parent 4b1e2f08e9
commit 4ce5cf03d2

View File

@ -138,6 +138,7 @@ void SettingsDialog::AddPage(Page id, SettingsPage* page) {
area->setWidget(page);
area->setWidgetResizable(true);
area->setFrameShape(QFrame::NoFrame);
area->setMinimumWidth(page->layout()->minimumSize().width());
// Add the page to the stack
ui_->stacked_widget->addWidget(area);