diff options
author | crupest <crupest@outlook.com> | 2022-03-11 21:18:10 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-03-11 21:18:10 +0800 |
commit | 3d74364e78fadbc0b36081097e4a3a22a8ee26f2 (patch) | |
tree | 7c0e8eca39dc63d388963d348d1e2e8fbd92b9d0 /src/theme_builder/components/StyleRuleEditor.h | |
parent | f99d56cf4091baf34636436de42ac84f4f92ae66 (diff) | |
download | cru-3d74364e78fadbc0b36081097e4a3a22a8ee26f2.tar.gz cru-3d74364e78fadbc0b36081097e4a3a22a8ee26f2.tar.bz2 cru-3d74364e78fadbc0b36081097e4a3a22a8ee26f2.zip |
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleEditor.h')
-rw-r--r-- | src/theme_builder/components/StyleRuleEditor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theme_builder/components/StyleRuleEditor.h b/src/theme_builder/components/StyleRuleEditor.h index e819fc98..8e3db3de 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/IconButton.h" #include "cru/ui/controls/TextBlock.h" #include "cru/ui/style/StyleRule.h" #include "stylers/StylerEditor.h" @@ -33,8 +34,7 @@ class StyleRuleEditor : public ui::components::Component { 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::IconButton remove_button_; ui::controls::FlexLayout body_layout_; std::unique_ptr<components::conditions::ConditionEditor> condition_editor_; std::unique_ptr<components::stylers::StylerEditor> styler_editor_; |