mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2026-02-08 00:32:27 +00:00
Simplify layout of settings window.
This commit is contained in:
@@ -30,10 +30,8 @@ ApplicationWindow {
|
|||||||
width: 640
|
width: 640
|
||||||
height: 640
|
height: 640
|
||||||
|
|
||||||
property int tabmargins: 15
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
anchors { fill: parent; margins: tabmargins }
|
anchors { fill: parent; }
|
||||||
|
|
||||||
TabBar {
|
TabBar {
|
||||||
id: bar
|
id: bar
|
||||||
@@ -52,24 +50,21 @@ ApplicationWindow {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Frame {
|
StackLayout {
|
||||||
anchors {
|
anchors {
|
||||||
top: bar.bottom
|
top: bar.bottom
|
||||||
left: parent.left
|
left: parent.left
|
||||||
right: parent.right
|
right: parent.right
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
|
margins: 16
|
||||||
}
|
}
|
||||||
|
|
||||||
StackLayout {
|
currentIndex: bar.currentIndex
|
||||||
anchors.fill: parent
|
|
||||||
|
|
||||||
currentIndex: bar.currentIndex
|
SettingsGeneralTab { }
|
||||||
|
SettingsTerminalTab { }
|
||||||
SettingsGeneralTab { }
|
SettingsEffectsTab { }
|
||||||
SettingsTerminalTab { }
|
SettingsAdvancedTab { }
|
||||||
SettingsEffectsTab { }
|
|
||||||
SettingsAdvancedTab { }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user