diff options
| author | crupest <crupest@outlook.com> | 2022-03-29 22:39:19 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-03-29 22:39:19 +0800 |
| commit | 6c09f49d51a564ff4dd0a6d3fa9804dffc2b236c (patch) | |
| tree | abac1b9f019e81b62f534caae89cff69c5c8dd87 /src/theme_builder/components/StyleRuleSetEditor.cpp | |
| parent | 18cb0bacad44fb619eaccff06cbb8ac776e757f9 (diff) | |
| download | cru-6c09f49d51a564ff4dd0a6d3fa9804dffc2b236c.tar.gz cru-6c09f49d51a564ff4dd0a6d3fa9804dffc2b236c.tar.bz2 cru-6c09f49d51a564ff4dd0a6d3fa9804dffc2b236c.zip | |
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleSetEditor.cpp')
| -rw-r--r-- | src/theme_builder/components/StyleRuleSetEditor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/theme_builder/components/StyleRuleSetEditor.cpp b/src/theme_builder/components/StyleRuleSetEditor.cpp index 89ab4efb..8cf5af6d 100644 --- a/src/theme_builder/components/StyleRuleSetEditor.cpp +++ b/src/theme_builder/components/StyleRuleSetEditor.cpp @@ -19,6 +19,7 @@ StyleRuleSetEditor::StyleRuleSetEditor() { container_.AddChild(&add_button_); rules_layout_.SetFlexDirection(ui::controls::FlexDirection::Vertical); + rules_layout_.SetItemCrossAlign(ui::controls::FlexCrossAlignment::Stretch); add_button_.GetStyleRuleSet()->SetParent( ui::ThemeManager::GetInstance()->GetResourceStyleRuleSet( |
