mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:57:45 +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:
parent
859975f6bd
commit
684f8a6b15
2 changed files with 75 additions and 14 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue