mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
Screensize: on small screens, crush the sidebar.
This still isn't enough to show the whole timezone or keyboard widget, but does make more of it visible.
This commit is contained in:
parent
0edf041b31
commit
f9ee774d4e
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ CalamaresWindow::CalamaresWindow( QWidget* parent )
|
||||||
|
|
||||||
QBoxLayout* sideLayout = new QVBoxLayout;
|
QBoxLayout* sideLayout = new QVBoxLayout;
|
||||||
sideBox->setLayout( sideLayout );
|
sideBox->setLayout( sideLayout );
|
||||||
sideBox->setFixedWidth( qMax( 190, CalamaresUtils::defaultFontHeight() * 12 ) );
|
sideBox->setFixedWidth( qBound( 100, CalamaresUtils::defaultFontHeight() * 12, w < preferred_min_w ? 100 : 190 ) );
|
||||||
sideBox->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
|
sideBox->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
|
||||||
|
|
||||||
QHBoxLayout* logoLayout = new QHBoxLayout;
|
QHBoxLayout* logoLayout = new QHBoxLayout;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue