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
height: 640
property int tabmargins: 15
Item {
anchors { fill: parent; margins: tabmargins }
anchors { fill: parent; }
TabBar {
id: bar
@@ -52,24 +50,21 @@ ApplicationWindow {
}
}
Frame {
StackLayout {
anchors {
top: bar.bottom
left: parent.left
right: parent.right
bottom: parent.bottom
margins: 16
}
StackLayout {
anchors.fill: parent
currentIndex: bar.currentIndex
currentIndex: bar.currentIndex
SettingsGeneralTab { }
SettingsTerminalTab { }
SettingsEffectsTab { }
SettingsAdvancedTab { }
}
SettingsGeneralTab { }
SettingsTerminalTab { }
SettingsEffectsTab { }
SettingsAdvancedTab { }
}
}
}