use pane on items
This commit is contained in:
parent
162f8f6b6f
commit
a10c2f0254
2 changed files with 46 additions and 19 deletions
|
|
@ -27,15 +27,17 @@ StyledPanelWindow {
|
|||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
Item {
|
||||
id: layout
|
||||
|
||||
anchors.fill: parent
|
||||
spacing: 0
|
||||
|
||||
StyledTabBar {
|
||||
id: tabs
|
||||
Layout.fillWidth: true
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: stack.top
|
||||
|
||||
StyledTabButton {
|
||||
text: "Fields"
|
||||
}
|
||||
|
|
@ -48,20 +50,26 @@ StyledPanelWindow {
|
|||
}
|
||||
|
||||
StackLayout {
|
||||
id: stack
|
||||
|
||||
anchors.top: tabs.bottom
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
|
||||
currentIndex: tabs.currentIndex
|
||||
|
||||
ScrollView {
|
||||
Layout.maximumHeight: 400
|
||||
Layout.fillWidth: true
|
||||
padding: 36
|
||||
Fields {}
|
||||
}
|
||||
ScrollView {
|
||||
Layout.maximumHeight: 400
|
||||
padding: 36
|
||||
Selectors {}
|
||||
}
|
||||
ScrollView {
|
||||
Layout.maximumHeight: 400
|
||||
Layout.fillWidth: true
|
||||
padding: 36
|
||||
Components {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue