diff options
Diffstat (limited to 'scene/gui/item_list.h')
-rw-r--r-- | scene/gui/item_list.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h index 59fa1d8270..a79d2575bd 100644 --- a/scene/gui/item_list.h +++ b/scene/gui/item_list.h @@ -45,6 +45,8 @@ private: bool ensure_selected_visible; + bool icon_stretch; + Vector<Item> items; Vector<int> separators; @@ -150,6 +152,9 @@ public: virtual String get_tooltip(const Point2& p_pos) const; int get_item_at_pos(const Point2& p_pos,bool p_exact=false) const; + void set_icon_stretch_to_max_size(bool p_stretch); + bool get_icon_stretch_to_max_size() const; + ItemList(); ~ItemList(); }; |