summaryrefslogtreecommitdiff
path: root/scene/gui/item_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/item_list.h')
-rw-r--r--scene/gui/item_list.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h
index a79d2575bd..1d10058bc4 100644
--- a/scene/gui/item_list.h
+++ b/scene/gui/item_list.h
@@ -45,8 +45,6 @@ private:
bool ensure_selected_visible;
- bool icon_stretch;
-
Vector<Item> items;
Vector<int> separators;
@@ -67,6 +65,8 @@ private:
bool allow_rmb_select;
+ real_t icon_scale;
+
void _scroll_changed(double);
void _input_event(const InputEvent& p_event);
protected:
@@ -152,8 +152,8 @@ 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;
+ void set_icon_scale(real_t p_scale);
+ real_t get_icon_scale() const;
ItemList();
~ItemList();