From f77dad0c47b0677eaa034f27c99b911fb22115a1 Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Sun, 14 Dec 2025 23:51:01 +0100 Subject: [PATCH] Simplify layout of settings window. --- app/qml/SettingsWindow.qml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/app/qml/SettingsWindow.qml b/app/qml/SettingsWindow.qml index 688c068..724a1cb 100644 --- a/app/qml/SettingsWindow.qml +++ b/app/qml/SettingsWindow.qml @@ -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 { } } } }