aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/stylers/StylerEditor.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-03-29 22:55:29 +0800
committercrupest <crupest@outlook.com>2022-03-29 22:55:29 +0800
commit77e217af8bdbfb20b9147f6159d5bdfda439ea95 (patch)
tree46873c9dc28ad7d0f900a8f7610a1ea4b881f75e /src/theme_builder/components/stylers/StylerEditor.cpp
parent6c09f49d51a564ff4dd0a6d3fa9804dffc2b236c (diff)
downloadcru-77e217af8bdbfb20b9147f6159d5bdfda439ea95.tar.gz
cru-77e217af8bdbfb20b9147f6159d5bdfda439ea95.tar.bz2
cru-77e217af8bdbfb20b9147f6159d5bdfda439ea95.zip
...
Diffstat (limited to 'src/theme_builder/components/stylers/StylerEditor.cpp')
-rw-r--r--src/theme_builder/components/stylers/StylerEditor.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/theme_builder/components/stylers/StylerEditor.cpp b/src/theme_builder/components/stylers/StylerEditor.cpp
index 662e5a08..0348adbd 100644
--- a/src/theme_builder/components/stylers/StylerEditor.cpp
+++ b/src/theme_builder/components/stylers/StylerEditor.cpp
@@ -13,16 +13,7 @@
#include "cru/ui/style/Styler.h"
namespace cru::theme_builder::components::stylers {
-StylerEditor::StylerEditor() {
- border_.SetChild(&container_);
- border_.SetBackgroundBrush(CreateRandomEditorBackgroundBrush());
-
- container_.SetFlexDirection(ui::controls::FlexDirection::Vertical);
- container_.AddChild(&head_container_);
- container_.SetItemCrossAlign(ui::controls::FlexCrossAlignment::Start);
- head_container_.SetFlexDirection(ui::render::FlexDirection::Horizontal);
- head_container_.AddChild(&label_);
-}
+StylerEditor::StylerEditor() {}
StylerEditor::~StylerEditor() {}