make tabs work
This commit is contained in:
parent
d313b81ebc
commit
0fad06136e
23
main.qml
23
main.qml
|
@ -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 {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue