diff options
author | crupest <crupest@outlook.com> | 2022-02-26 21:13:52 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-26 21:13:52 +0800 |
commit | 38221428a5ea4bc71f03508dafdc6ad65ebfbea1 (patch) | |
tree | 3248edb39faf98aa19647f30477bcc6cf734ebb3 /src/theme_builder/components/StyleRuleEditor.h | |
parent | 8da596f7b5fdbcf11fbda4aa66efc87a219f58ae (diff) | |
download | cru-38221428a5ea4bc71f03508dafdc6ad65ebfbea1.tar.gz cru-38221428a5ea4bc71f03508dafdc6ad65ebfbea1.tar.bz2 cru-38221428a5ea4bc71f03508dafdc6ad65ebfbea1.zip |
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleEditor.h')
-rw-r--r-- | src/theme_builder/components/StyleRuleEditor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/theme_builder/components/StyleRuleEditor.h b/src/theme_builder/components/StyleRuleEditor.h index 204b65b4..8cee966f 100644 --- a/src/theme_builder/components/StyleRuleEditor.h +++ b/src/theme_builder/components/StyleRuleEditor.h @@ -4,6 +4,7 @@ #include "cru/ui/controls/Button.h" #include "cru/ui/controls/Control.h" #include "cru/ui/controls/FlexLayout.h" +#include "cru/ui/controls/TextBlock.h" #include "cru/ui/style/StyleRule.h" #include "stylers/StylerEditor.h" @@ -29,9 +30,11 @@ class StyleRuleEditor : public ui::components::Component { private: ui::controls::FlexLayout main_layout_; + ui::controls::TextBlock label_; + ui::controls::FlexLayout head_layout_; ui::controls::Button remove_button_; ui::controls::TextBlock remove_button_text_; - ui::controls::FlexLayout right_layout_; + ui::controls::FlexLayout body_layout_; std::unique_ptr<components::conditions::ConditionEditor> condition_editor_; std::unique_ptr<components::stylers::StylerEditor> styler_editor_; |