aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/MainWindow.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-16 22:42:34 +0800
committercrupest <crupest@outlook.com>2022-02-16 22:42:34 +0800
commitf75ab0bd662c73d15057d746347d09bf94a992a6 (patch)
tree91efc33de481edf5304001d80b914b69cc0fb338 /src/theme_builder/components/MainWindow.cpp
parent2711b7032cafdc9bdbd6ae06db0325c91e6e7f63 (diff)
downloadcru-f75ab0bd662c73d15057d746347d09bf94a992a6.tar.gz
cru-f75ab0bd662c73d15057d746347d09bf94a992a6.tar.bz2
cru-f75ab0bd662c73d15057d746347d09bf94a992a6.zip
...
Diffstat (limited to 'src/theme_builder/components/MainWindow.cpp')
-rw-r--r--src/theme_builder/components/MainWindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theme_builder/components/MainWindow.cpp b/src/theme_builder/components/MainWindow.cpp
index 59e2dae8..d2a4c765 100644
--- a/src/theme_builder/components/MainWindow.cpp
+++ b/src/theme_builder/components/MainWindow.cpp
@@ -23,6 +23,9 @@ MainWindow::MainWindow() {
style_rule_set_editor_.BindStyleRuleSet(
preview_button_.GetStyleRuleSet()->GetParent());
main_layout_.AddChild(style_rule_set_editor_.GetRootControl());
+
+ main_layout_.SetChildLayoutData(0, {0, 0});
+ main_layout_.SetChildLayoutData(1, {1, 1});
}
MainWindow::~MainWindow() {}