diff options
author | crupest <crupest@outlook.com> | 2022-02-16 20:28:51 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-16 20:28:51 +0800 |
commit | c6de932f727ed324cf875ea3fca9ca44775a820e (patch) | |
tree | 070fcd65ba0664ab8138874829c0324b2cd833c6 /src/theme_builder/components/stylers | |
parent | 3cd44092c44651650a760752a3d374f610ca4f77 (diff) | |
download | cru-c6de932f727ed324cf875ea3fca9ca44775a820e.tar.gz cru-c6de932f727ed324cf875ea3fca9ca44775a820e.tar.bz2 cru-c6de932f727ed324cf875ea3fca9ca44775a820e.zip |
...
Diffstat (limited to 'src/theme_builder/components/stylers')
3 files changed, 4 insertions, 0 deletions
diff --git a/src/theme_builder/components/stylers/BorderStylerEditor.cpp b/src/theme_builder/components/stylers/BorderStylerEditor.cpp index 36fc61d0..2b169dcf 100644 --- a/src/theme_builder/components/stylers/BorderStylerEditor.cpp +++ b/src/theme_builder/components/stylers/BorderStylerEditor.cpp @@ -8,6 +8,7 @@ namespace cru::theme_builder::components::stylers { BorderStylerEditor::BorderStylerEditor() { + SetLabel(u"Border Styler"); GetContainer()->AddChild(corner_radius_editor_.GetRootControl()); GetContainer()->AddChild(thickness_editor_.GetRootControl()); GetContainer()->AddChild(brush_editor_.GetRootControl()); diff --git a/src/theme_builder/components/stylers/CompoundStylerEditor.cpp b/src/theme_builder/components/stylers/CompoundStylerEditor.cpp index 52f911bc..27a29c59 100644 --- a/src/theme_builder/components/stylers/CompoundStylerEditor.cpp +++ b/src/theme_builder/components/stylers/CompoundStylerEditor.cpp @@ -25,6 +25,7 @@ CompoundStylerEditorChild::~CompoundStylerEditorChild() { } CompoundStylerEditor::CompoundStylerEditor() { + SetLabel(u"Compound Styler"); children_container_.SetFlexDirection(ui::controls::FlexDirection::Vertical); GetContainer()->AddChild(&children_container_); diff --git a/src/theme_builder/components/stylers/CursorStylerEditor.cpp b/src/theme_builder/components/stylers/CursorStylerEditor.cpp index 4cbd69cd..d7e5c351 100644 --- a/src/theme_builder/components/stylers/CursorStylerEditor.cpp +++ b/src/theme_builder/components/stylers/CursorStylerEditor.cpp @@ -4,8 +4,10 @@ namespace cru::theme_builder::components::stylers { CursorStylerEditor::CursorStylerEditor() { + SetLabel(u"Cursor Styler"); GetContainer()->AddChild(cursor_select_.GetRootControl()); + cursor_select_.SetLabel(u"Cursor"); cursor_select_.SetItems({u"arrow", u"hand", u"ibeam"}); cursor_select_.SetSelectedIndex(0); } |