From 43fe5dfe001f25870788742333d141f406b07364 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 29 Jan 2022 22:19:36 +0800 Subject: ... --- src/ui/controls/RootControl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/controls/RootControl.cpp') 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(this); + window_host_->SetLayoutPreferToFillWindow(true); } RootControl::~RootControl() {} -- cgit v1.2.3