diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-10-27 17:32:09 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-28 11:23:44 +0200 |
commit | dbeff9ad84b708324fe69f7906af41aa03026de8 (patch) | |
tree | 8850d3c3252d4d472ea961c08f1d178a7d9160d1 /Userland/Applications/ThemeEditor/ThemeEditor.gml | |
parent | e58db5592e07238681a11e2cb9d2088faacd2602 (diff) | |
download | serenity-dbeff9ad84b708324fe69f7906af41aa03026de8.zip |
ThemeEditor: Add PathRole editing
This allows both typing the path, and selecting it with a file-open
dialog.
Diffstat (limited to 'Userland/Applications/ThemeEditor/ThemeEditor.gml')
-rw-r--r-- | Userland/Applications/ThemeEditor/ThemeEditor.gml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Userland/Applications/ThemeEditor/ThemeEditor.gml b/Userland/Applications/ThemeEditor/ThemeEditor.gml index 91348e199d..4eca76e919 100644 --- a/Userland/Applications/ThemeEditor/ThemeEditor.gml +++ b/Userland/Applications/ThemeEditor/ThemeEditor.gml @@ -17,6 +17,7 @@ @GUI::ComboBox { name: "color_combo_box" model_only: true + fixed_width: 230 } @GUI::ColorInput { @@ -34,10 +35,37 @@ @GUI::ComboBox { name: "metric_combo_box" model_only: true + fixed_width: 230 } @GUI::SpinBox { name: "metric_input" } } + + @GUI::GroupBox { + layout: @GUI::HorizontalBoxLayout { + margins: [16, 8, 8, 8] + } + shrink_to_fit: true + title: "Paths" + + @GUI::ComboBox { + name: "path_combo_box" + model_only: true + fixed_width: 230 + } + + @GUI::TextBox { + name: "path_input" + mode: "Editable" + } + + @GUI::Button { + name: "path_picker_button" + fixed_width: 20 + text: "..." + tooltip: "Choose..." + } + } } |