diff options
Diffstat (limited to 'include/cru/ui/controls/flex_layout.hpp')
-rw-r--r-- | include/cru/ui/controls/flex_layout.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/flex_layout.hpp b/include/cru/ui/controls/flex_layout.hpp index 52eaec75..ab08a80b 100644 --- a/include/cru/ui/controls/flex_layout.hpp +++ b/include/cru/ui/controls/flex_layout.hpp @@ -32,8 +32,8 @@ class FlexLayout : public LayoutControl { void SetChildLayoutData(Control* control, const FlexChildLayoutData& data); protected: - void OnAddChild(Control* child, int position) override; - void OnRemoveChild(Control* child, int position) override; + void OnAddChild(Control* child, Index position) override; + void OnRemoveChild(Control* child, Index position) override; private: std::shared_ptr<render::FlexLayoutRenderObject> render_object_; |