diff --git a/gui/Start.qml b/gui/Start.qml index 7f6e12a..c782a13 100644 --- a/gui/Start.qml +++ b/gui/Start.qml @@ -5,19 +5,19 @@ Item { - anchors.fill: parent - TopBar - { - id:topBar - } + anchors.fill: parent + TopBar + { + id:topBar + } - // Component.onCompleted: - // { - // appLoader.window.title = "pyqcrm" - // appLoader.window.height = Screen.height * .5 - // appLoader.window.width = Screen.width * .5 + Component.onCompleted: + { + appLoader.window.title = "pyqcrm" + appLoader.window.height = Screen.height * .5 + appLoader.window.width = Screen.width * .5 - // } + } } diff --git a/gui/TopBar.qml b/gui/TopBar.qml index 42084e0..5b33f8b 100644 --- a/gui/TopBar.qml +++ b/gui/TopBar.qml @@ -18,7 +18,7 @@ import QtQuick.Layouts { id: topBar height: 35 - width: parent / 8 + width: parent.width / 8