aboutsummaryrefslogtreecommitdiff
path: root/src/ui/style/Styler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/style/Styler.cpp')
-rw-r--r--src/ui/style/Styler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/style/Styler.cpp b/src/ui/style/Styler.cpp
index 251d403c..b0b14c61 100644
--- a/src/ui/style/Styler.cpp
+++ b/src/ui/style/Styler.cpp
@@ -31,7 +31,7 @@ void CursorStyler::Apply(controls::Control* control) const {
}
void PreferredSizeStyler::Apply(controls::Control* control) const {
- control->SetPreferredSize(size_);
+ control->SetSuggestSize(size_);
}
void MarginStyler::Apply(controls::Control* control) const {