make tabs work

This commit is contained in:
Iuri Matias 2020-05-07 15:46:10 -04:00
parent d313b81ebc
commit 0fad06136e
1 changed files with 54 additions and 39 deletions

View File

@ -15,7 +15,7 @@ ApplicationWindow {
width: parent.width
height: parent.height
anchors.fill: parent
// spacing: 50
// spacing: 50
TabBar {
id: tabBar
@ -84,15 +84,21 @@ ApplicationWindow {
}
}
StackLayout {
width: parent.width
currentIndex: tabBar.currentIndex
SplitView {
x: 9
y: 0
Layout.fillHeight: true
// anchors.fill: parent
// width: parent.width
// anchors.fill: parent
// width: parent.width
Layout.leftMargin: 0
Layout.fillWidth: true
Layout.minimumWidth: 100
Layout.preferredWidth: 200
// Layout.preferredHeight: 100
// Layout.preferredHeight: 100
Item {
width: 300
@ -134,6 +140,15 @@ ApplicationWindow {
}
}
Item {
}
Item {
}
}
}