summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder/VBForm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'DevTools/VisualBuilder/VBForm.cpp')
-rw-r--r--DevTools/VisualBuilder/VBForm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/VisualBuilder/VBForm.cpp b/DevTools/VisualBuilder/VBForm.cpp
index 56f52f008f..d8e3e53294 100644
--- a/DevTools/VisualBuilder/VBForm.cpp
+++ b/DevTools/VisualBuilder/VBForm.cpp
@@ -354,7 +354,7 @@ void VBForm::mousemove_event(GUI::MouseEvent& event)
if (widget.is_in_layout())
return;
auto new_rect = widget.transform_origin_rect();
- Size minimum_size { 5, 5 };
+ Gfx::Size minimum_size { 5, 5 };
new_rect.set_x(new_rect.x() + change_x);
new_rect.set_y(new_rect.y() + change_y);
new_rect.set_width(max(minimum_size.width(), new_rect.width() + change_w));