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

ThemeEditor: Add MetricRole editing

The editing UI at the bottom is now split into two groups, one for
colors and one for metrics.
This commit is contained in:
Sam Atkins 2021-10-27 16:59:59 +01:00 committed by Andreas Kling
parent 859975f6bd
commit 684f8a6b15
2 changed files with 75 additions and 14 deletions

View file

@ -7,9 +7,12 @@
name: "preview_frame"
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
fixed_height: 20
@GUI::GroupBox {
layout: @GUI::HorizontalBoxLayout {
margins: [16, 8, 8, 8]
}
shrink_to_fit: true
title: "Colors"
@GUI::ComboBox {
name: "color_combo_box"
@ -20,4 +23,21 @@
name: "color_input"
}
}
@GUI::GroupBox {
layout: @GUI::HorizontalBoxLayout {
margins: [16, 8, 8, 8]
}
shrink_to_fit: true
title: "Metrics"
@GUI::ComboBox {
name: "metric_combo_box"
model_only: true
}
@GUI::SpinBox {
name: "metric_input"
}
}
}