1
0
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:
Filippo Scognamiglio
2025-12-14 23:51:01 +01:00
parent 4faa6d522d
commit f77dad0c47

View File

@@ -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 { }
}
} }
} }
} }