diff --git a/gui/TopBar.qml b/gui/TopBar.qml index ecc79ec..42084e0 100644 --- a/gui/TopBar.qml +++ b/gui/TopBar.qml @@ -18,7 +18,7 @@ import QtQuick.Layouts { id: topBar height: 35 - width: parent / 4 + width: parent / 8 @@ -26,51 +26,51 @@ import QtQuick.Layouts { top: parent.top left: parent.left - right: parent.right } Button { - // width: parent.width/7 - - Layout.preferredWidth: parent.width/5 + id: dashBoard Text { text: "Dashboard" - id: dashBoard - + anchors.centerIn: parent } } Button { - Layout.preferredWidth: parent.width/5 + id: kunden Text { text: "Kunden" + anchors.centerIn: parent } } Button { - Layout.preferredWidth: parent.width/5 + id: objekt Text { text: "Objekt" + anchors.centerIn: parent } } Button { - Layout.preferredWidth: parent.width/5 + id: mitarbeiter Text { text: "Mitarbeiter" + anchors.centerIn: parent } } Button { - Layout.preferredWidth: parent.width/5 + id: abrechnung Text { text: "Abrechnung" + anchors.centerIn: parent } } }