summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings/DesktopSettings.gml
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/DisplaySettings/DesktopSettings.gml')
-rw-r--r--Userland/Applications/DisplaySettings/DesktopSettings.gml75
1 files changed, 75 insertions, 0 deletions
diff --git a/Userland/Applications/DisplaySettings/DesktopSettings.gml b/Userland/Applications/DisplaySettings/DesktopSettings.gml
new file mode 100644
index 0000000000..c35c47b7aa
--- /dev/null
+++ b/Userland/Applications/DisplaySettings/DesktopSettings.gml
@@ -0,0 +1,75 @@
+@GUI::Widget {
+ fill_with_background_color: true
+
+ layout: @GUI::VerticalBoxLayout {
+ margins: [8, 8, 8, 8]
+ }
+
+ @GUI::GroupBox {
+ layout: @GUI::VerticalBoxLayout {
+ margins: [16, 24, 16, 6]
+ }
+
+ title: "Virtual Desktops"
+ shrink_to_fit: true
+
+ @GUI::Widget {
+ fixed_height: 32
+
+ layout: @GUI::HorizontalBoxLayout {
+ margins: [6, 6, 6, 6]
+ }
+
+ @GUI::Label {
+ text: "Rows:"
+ text_alignment: "CenterRight"
+ }
+
+ @GUI::SpinBox {
+ name: "virtual_desktop_rows_spinbox"
+ min: 1
+ max: 16
+ orientation: "Horizontal"
+ }
+
+ @GUI::Label {
+ text: "Columns:"
+ text_alignment: "CenterRight"
+ }
+
+ @GUI::SpinBox {
+ name: "virtual_desktop_columns_spinbox"
+ min: 1
+ max: 16
+ orientation: "Horizontal"
+ }
+ }
+
+ @GUI::Widget {
+ fixed_height: 76
+
+ layout: @GUI::HorizontalBoxLayout {
+ }
+ @GUI::Label {
+ name: "light_bulb_label"
+ fixed_height: 32
+ fixed_width: 32
+ }
+ @GUI::Widget {
+ layout: @GUI::VerticalBoxLayout {
+ margins: [6, 6, 6, 6]
+ }
+ @GUI::Label {
+ text: "Use the Ctrl+Alt+Arrow hotkeys to move between virtual desktops."
+ text_alignment: "TopLeft"
+ word_wrap: true
+ }
+ @GUI::Label {
+ text: "Use the Ctrl+Shift+Alt+Arrow hotkeys to move between virtual desktops and move the active window."
+ text_alignment: "TopLeft"
+ word_wrap: true
+ }
+ }
+ }
+ }
+}