From 8a1265261cf5cb82b6a2dead319fb0b0e92d9ea7 Mon Sep 17 00:00:00 2001 From: Agel Date: Tue, 31 Mar 2026 21:15:21 +0200 Subject: [PATCH] sidebar fixed --- src/qml/Main.qml | 2 +- src/qml/components/Footer.qml | 2 +- src/qml/components/Header.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qml/Main.qml b/src/qml/Main.qml index ca104c8..8bb980d 100644 --- a/src/qml/Main.qml +++ b/src/qml/Main.qml @@ -107,7 +107,7 @@ ApplicationWindow { Item { id: contentArea width: parent.width - height: parent.height - header.height - (footerLoader.active ? ThemeManager.currentTheme.footerHeight : 0) + height: parent.height - header.height - (footerLoader.active ? ThemeManager.footerHeight : 0) StarterPage { anchors.fill: parent diff --git a/src/qml/components/Footer.qml b/src/qml/components/Footer.qml index b08d90b..1512239 100644 --- a/src/qml/components/Footer.qml +++ b/src/qml/components/Footer.qml @@ -3,7 +3,7 @@ import QtQuick.Controls import Asteria Rectangle { - height: ThemeManager.currentTheme.footerHeight + height: ThemeManager.footerHeight color: ThemeManager.currentTheme.footerBg Rectangle { diff --git a/src/qml/components/Header.qml b/src/qml/components/Header.qml index 10c9186..fa2ba96 100644 --- a/src/qml/components/Header.qml +++ b/src/qml/components/Header.qml @@ -4,7 +4,7 @@ import Asteria Rectangle { id: header - height: barsVisible ? ThemeManager.currentTheme.headerHeight : 0 + height: barsVisible ? ThemeManager.headerHeight : 0 clip: true color: ThemeManager.currentTheme.surface