|
|
@ -172,8 +172,12 @@ CalamaresWindow::CalamaresWindow( QWidget* parent )
|
|
|
|
QBoxLayout* mainLayout = new QHBoxLayout;
|
|
|
|
QBoxLayout* mainLayout = new QHBoxLayout;
|
|
|
|
setLayout( mainLayout );
|
|
|
|
setLayout( mainLayout );
|
|
|
|
|
|
|
|
|
|
|
|
QWidget* sideBox = getWidgetSidebar(
|
|
|
|
QWidget* sideBox = nullptr;
|
|
|
|
qBound( 100, CalamaresUtils::defaultFontHeight() * 12, w < windowPreferredWidth ? 100 : 190 ) );
|
|
|
|
if ( branding->sidebarFlavor() == Calamares::Branding::SidebarFlavor::Widget )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
sideBox = getWidgetSidebar(
|
|
|
|
|
|
|
|
qBound( 100, CalamaresUtils::defaultFontHeight() * 12, w < windowPreferredWidth ? 100 : 190 ) );
|
|
|
|
|
|
|
|
}
|
|
|
|
if ( sideBox )
|
|
|
|
if ( sideBox )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
mainLayout->addWidget( sideBox );
|
|
|
|
mainLayout->addWidget( sideBox );
|
|
|
|