From c6de932f727ed324cf875ea3fca9ca44775a820e Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 16 Feb 2022 20:28:51 +0800 Subject: ... --- src/theme_builder/components/stylers/BorderStylerEditor.cpp | 1 + src/theme_builder/components/stylers/CompoundStylerEditor.cpp | 1 + src/theme_builder/components/stylers/CursorStylerEditor.cpp | 2 ++ 3 files changed, 4 insertions(+) (limited to 'src/theme_builder/components/stylers') 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); } -- cgit v1.2.3