aboutsummaryrefslogtreecommitdiff
path: root/CruUI/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CruUI/main.cpp')
-rw-r--r--CruUI/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CruUI/main.cpp b/CruUI/main.cpp
index 90743e81..65e63af9 100644
--- a/CruUI/main.cpp
+++ b/CruUI/main.cpp
@@ -74,7 +74,7 @@ int APIENTRY wWinMain(
const auto layout = LinearLayout::Create();
- layout->GetLayoutParams()->width.mode = MeasureMode::Stretch;
+ layout->GetLayoutParams()->width = LayoutLength::Exactly(500);
layout->mouse_click_event.AddHandler([layout](cru::ui::events::MouseButtonEventArgs& args)
{