diff options
author | crupest <crupest@outlook.com> | 2022-01-29 22:19:36 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-29 22:19:36 +0800 |
commit | 43fe5dfe001f25870788742333d141f406b07364 (patch) | |
tree | aa2cf8825cca0bcab5f7e72c37801cf35de857b3 /src/ui/controls | |
parent | 592f3f3f25f00232234399f4c5f51318a3fa49d2 (diff) | |
download | cru-43fe5dfe001f25870788742333d141f406b07364.tar.gz cru-43fe5dfe001f25870788742333d141f406b07364.tar.bz2 cru-43fe5dfe001f25870788742333d141f406b07364.zip |
...
Diffstat (limited to 'src/ui/controls')
-rw-r--r-- | src/ui/controls/RootControl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/controls/RootControl.cpp b/src/ui/controls/RootControl.cpp index a7366155..dbf037fc 100644 --- a/src/ui/controls/RootControl.cpp +++ b/src/ui/controls/RootControl.cpp @@ -20,6 +20,7 @@ RootControl::RootControl(Control* attached_control) render_object_->SetDefaultVertialAlignment(Alignment::Stretch); SetContainerRenderObject(render_object_.get()); window_host_ = std::make_unique<host::WindowHost>(this); + window_host_->SetLayoutPreferToFillWindow(true); } RootControl::~RootControl() {} |