diff options
Diffstat (limited to 'Userland/Applications/KeyboardSettings')
-rw-r--r-- | Userland/Applications/KeyboardSettings/Keyboard.gml | 12 | ||||
-rw-r--r-- | Userland/Applications/KeyboardSettings/KeymapDialog.gml | 8 |
2 files changed, 4 insertions, 16 deletions
diff --git a/Userland/Applications/KeyboardSettings/Keyboard.gml b/Userland/Applications/KeyboardSettings/Keyboard.gml index 261ce8513b..1437c98666 100644 --- a/Userland/Applications/KeyboardSettings/Keyboard.gml +++ b/Userland/Applications/KeyboardSettings/Keyboard.gml @@ -1,6 +1,5 @@ @GUI::Frame { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [10] spacing: 5 @@ -9,7 +8,6 @@ @GUI::GroupBox { title: "Mapping" fixed_height: 150 - layout: @GUI::HorizontalBoxLayout { margins: [16, 8, 8] spacing: 16 @@ -17,8 +15,7 @@ @GUI::Widget { fixed_width: 32 - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::Label { fixed_width: 32 @@ -38,7 +35,6 @@ @GUI::Widget { fixed_height: 24 - layout: @GUI::HorizontalBoxLayout { spacing: 4 } @@ -59,7 +55,6 @@ @GUI::GroupBox { title: "Test input" - layout: @GUI::HorizontalBoxLayout { margins: [16, 8, 8] spacing: 16 @@ -67,8 +62,7 @@ @GUI::Widget { fixed_width: 32 - layout: @GUI::VerticalBoxLayout { - } + layout: @GUI::VerticalBoxLayout @GUI::Label { fixed_width: 32 @@ -84,7 +78,6 @@ @GUI::Widget { fixed_height: 24 - layout: @GUI::HorizontalBoxLayout { spacing: 16 } @@ -110,7 +103,6 @@ @GUI::GroupBox { title: "Num Lock" fixed_height: 60 - layout: @GUI::HorizontalBoxLayout { margins: [16, 8, 8] spacing: 16 diff --git a/Userland/Applications/KeyboardSettings/KeymapDialog.gml b/Userland/Applications/KeyboardSettings/KeymapDialog.gml index 71e1efbe62..c1062d0fd2 100644 --- a/Userland/Applications/KeyboardSettings/KeymapDialog.gml +++ b/Userland/Applications/KeyboardSettings/KeymapDialog.gml @@ -1,6 +1,5 @@ @GUI::Widget { fill_with_background_color: true - layout: @GUI::VerticalBoxLayout { margins: [4] } @@ -11,12 +10,9 @@ @GUI::Widget { fixed_height: 24 + layout: @GUI::HorizontalBoxLayout - layout: @GUI::HorizontalBoxLayout { - } - - @GUI::Widget { - } + @GUI::Widget @GUI::Button { name: "ok_button" |