blob: 835b2d1242409e9f0098ce12cea9efed2c6aa44c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "SelectPropertyEditor.h"
#include "cru/ui/controls/FlexLayout.h"
namespace cru::theme_builder::components::properties {
SelectPropertyEditor::SelectPropertyEditor() {
container_.SetFlexDirection(ui::controls::FlexDirection::Horizontal);
container_.AddChild(&label_);
container_.AddChild(select_.GetRootControl());
select_.ItemSelectedEvent()->AddHandler(
[this](Index index) { RaiseChangeEvent(); });
}
SelectPropertyEditor::~SelectPropertyEditor() {}
} // namespace cru::theme_builder::components::properties
|