diff options
| author | Nippy <nippy@Nippy-Mac-mini.local> | 2026-11-01 18:13:54 +0100 |
|---|---|---|
| committer | Nippy <nippy@Nippy-Mac-mini.local> | 2026-11-01 18:13:54 +0100 |
| commit | a64ef966534f8dba6af889ba4bfce15691bfc85b (patch) | |
| tree | b30f284d05b80fa115569ab220deae13797fad6f /raveos-calamares/0003-raveos-panelek.patch | |
| parent | 919f977b40016f588b0c8532c8a57f6035056b95 (diff) | |
| download | RaveOS-PKGBUILD-a64ef966534f8dba6af889ba4bfce15691bfc85b.tar.gz RaveOS-PKGBUILD-a64ef966534f8dba6af889ba4bfce15691bfc85b.zip | |
új telepítő
Diffstat (limited to 'raveos-calamares/0003-raveos-panelek.patch')
| -rw-r--r-- | raveos-calamares/0003-raveos-panelek.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/raveos-calamares/0003-raveos-panelek.patch b/raveos-calamares/0003-raveos-panelek.patch new file mode 100644 index 0000000..b548da9 --- /dev/null +++ b/raveos-calamares/0003-raveos-panelek.patch @@ -0,0 +1,46 @@ +--- a/src/calamares/CalamaresWindow.cpp ++++ b/src/calamares/CalamaresWindow.cpp +@@ -294,8 +294,8 @@ + // which seems to match what the widget navigation would use for height + // (with *my* specific screen, style, etc. so YMMV). + // +- // Bound between (16, 64) with a default of 48. +- qreal minimumHeight = qBound( qreal( 16 ), w->rootObject() ? w->rootObject()->height() : 48, qreal( 64 ) ); ++ // Bound between (16, 96) with a default of 48. ++ qreal minimumHeight = qBound( qreal( 16 ), w->rootObject() ? w->rootObject()->height() : 48, qreal( 96 ) ); + w->setMinimumHeight( int( minimumHeight ) ); + w->setFixedHeight( int( minimumHeight ) ); + } +@@ -500,7 +500,9 @@ + baseWidget, + ::getWidgetSidebar, + ::getQmlSidebar, +- qBound( 100, Calamares::defaultFontHeight() * 12, w < windowPreferredWidth ? 100 : 190 ) ); ++ branding->sidebarFlavor() == Calamares::Branding::PanelFlavor::Qml ++ ? 240 ++ : qBound( 100, Calamares::defaultFontHeight() * 12, w < windowPreferredWidth ? 100 : 190 ) ); + QWidget* navigation = flavoredWidget( branding->navigationFlavor(), + ::orientation( branding->navigationSide() ), + m_debugManager, +@@ -536,6 +538,21 @@ + Calamares::unmarginLayout( contentsLayout ); + baseWidget->setLayout( mainLayout ); + setStyleSheet( Calamares::Branding::instance()->stylesheet() ); ++ ++ auto panelekElsoLepesnel = [ this, sideBox, navigation ]() ++ { ++ const bool latszik = m_viewManager->currentStepIndex() > 0; ++ if ( sideBox ) ++ { ++ sideBox->setVisible( latszik ); ++ } ++ if ( navigation ) ++ { ++ navigation->setVisible( latszik ); ++ } ++ }; ++ connect( m_viewManager, &Calamares::ViewManager::currentStepChanged, this, panelekElsoLepesnel ); ++ panelekElsoLepesnel(); + } + + void |