Topbar layout

This commit is contained in:
2024-11-04 14:03:41 +01:00
parent fb5b23efbb
commit 8518d06797

View File

@@ -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
}
}
}