mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09: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:
parent
1dd5c838cf
commit
4bac30f737
3 changed files with 65 additions and 20 deletions
48
Userland/Applications/KeyboardSettings/Keyboard.gml
Normal file
48
Userland/Applications/KeyboardSettings/Keyboard.gml
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue