diff --git a/libui/include/ui/Layout.h b/libui/include/ui/Layout.h index 62ebe8c8..66e4976b 100644 --- a/libui/include/ui/Layout.h +++ b/libui/include/ui/Layout.h @@ -43,7 +43,7 @@ namespace ui Vector m_widgets; AdjustHeight m_adjust_height; AdjustWidth m_adjust_width; - int m_used_width; + int m_used_width { 0 }; }; class VerticalLayout final : public Widget @@ -64,6 +64,6 @@ namespace ui Vector m_widgets; AdjustHeight m_adjust_height; AdjustWidth m_adjust_width; - int m_used_height; + int m_used_height { 0 }; }; }