mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:57:35 +00:00
ThemeEditor: Arrange the theme properties into groups
This makes it clearer which properties are related, instead of them all being in one list per tab.
This commit is contained in:
parent
423383e9aa
commit
4edc33b4a6
2 changed files with 198 additions and 164 deletions
|
@ -66,11 +66,16 @@ struct Property {
|
|||
Variant<Gfx::AlignmentRole, Gfx::ColorRole, Gfx::FlagRole, Gfx::MetricRole, Gfx::PathRole> role;
|
||||
};
|
||||
|
||||
struct PropertyTab {
|
||||
struct PropertyGroup {
|
||||
String title;
|
||||
Vector<Property> properties;
|
||||
};
|
||||
|
||||
struct PropertyTab {
|
||||
String title;
|
||||
Vector<PropertyGroup> property_groups;
|
||||
};
|
||||
|
||||
class MainWidget final : public GUI::Widget {
|
||||
C_OBJECT(MainWidget);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue