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