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
ea7a45baa6
commit
d0c7577fb4
@ -77,7 +77,7 @@ CalamaresWindow::CalamaresWindow( QWidget* parent )
|
||||
|
||||
QBoxLayout* sideLayout = new QVBoxLayout;
|
||||
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 );
|
||||
|
||||
QHBoxLayout* logoLayout = new QHBoxLayout;
|
||||
|
Loading…
Reference in New Issue
Block a user