1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:27:45 +00:00

KeyboardSettings: Migrate layout to GML

All other Settings applications use this, so let's match them!
This commit is contained in:
Sam Atkins 2021-11-20 12:53:04 +00:00 committed by Linus Groh
parent 1dd5c838cf
commit 4bac30f737
3 changed files with 65 additions and 20 deletions

View file

@ -0,0 +1,48 @@
@GUI::Frame {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [10]
spacing: 5
}
@GUI::GroupBox {
title: "Mapping"
fixed_height: 60
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 2
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 16
}
@GUI::Label {
text: "Character mapping file:"
fixed_width: 130
text_alignment: "CenterLeft"
}
@GUI::ComboBox {
name: "character_map_file_combo"
}
}
}
@GUI::GroupBox {
title: "Num Lock"
fixed_height: 60
layout: @GUI::HorizontalBoxLayout {
margins: [16, 8, 8]
}
@GUI::CheckBox {
text: "Enable Num Lock on login"
name: "num_lock_checkbox"
}
}
}