Topbar layout
This commit is contained in:
@@ -18,7 +18,7 @@ import QtQuick.Layouts
|
|||||||
{
|
{
|
||||||
id: topBar
|
id: topBar
|
||||||
height: 35
|
height: 35
|
||||||
width: parent / 4
|
width: parent / 8
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -26,51 +26,51 @@ import QtQuick.Layouts
|
|||||||
{
|
{
|
||||||
top: parent.top
|
top: parent.top
|
||||||
left: parent.left
|
left: parent.left
|
||||||
right: parent.right
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
// width: parent.width/7
|
id: dashBoard
|
||||||
|
|
||||||
Layout.preferredWidth: parent.width/5
|
|
||||||
Text
|
Text
|
||||||
{
|
{
|
||||||
text: "Dashboard"
|
text: "Dashboard"
|
||||||
id: dashBoard
|
anchors.centerIn: parent
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
Layout.preferredWidth: parent.width/5
|
id: kunden
|
||||||
Text
|
Text
|
||||||
{
|
{
|
||||||
text: "Kunden"
|
text: "Kunden"
|
||||||
|
anchors.centerIn: parent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
Layout.preferredWidth: parent.width/5
|
id: objekt
|
||||||
Text
|
Text
|
||||||
{
|
{
|
||||||
text: "Objekt"
|
text: "Objekt"
|
||||||
|
anchors.centerIn: parent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
Layout.preferredWidth: parent.width/5
|
id: mitarbeiter
|
||||||
Text
|
Text
|
||||||
{
|
{
|
||||||
text: "Mitarbeiter"
|
text: "Mitarbeiter"
|
||||||
|
anchors.centerIn: parent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
Layout.preferredWidth: parent.width/5
|
id: abrechnung
|
||||||
Text
|
Text
|
||||||
{
|
{
|
||||||
text: "Abrechnung"
|
text: "Abrechnung"
|
||||||
|
anchors.centerIn: parent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user