diff options
| author | Dmitry Koteroff | 2017-12-18 01:16:11 +0300 |
|---|---|---|
| committer | Dmitry Koteroff | 2017-12-18 03:40:49 +0300 |
| commit | ea14b0789b8442a930a4464e7e17a3473e2e221d (patch) | |
| tree | 2ccf16a12d9cab2dc9abd3b178847423ff12f263 /scene/gui/item_list.h | |
| parent | 90d95c7ee17b94736045555f1810a2a920fd3b33 (diff) | |
| download | godot-ea14b0789b8442a930a4464e7e17a3473e2e221d.tar.gz godot-ea14b0789b8442a930a4464e7e17a3473e2e221d.tar.zst godot-ea14b0789b8442a930a4464e7e17a3473e2e221d.zip | |
A few small Debugger->Errors tab enhancements:
1. Added "Clear" button to clear list.
2. Errors list now populated with newest items comes first, so no need to scroll everytime.
3. Added PopupMenu to errors list with ability to quickly Copy error text & details.
Diffstat (limited to 'scene/gui/item_list.h')
| -rw-r--r-- | scene/gui/item_list.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h index b1e1e5eeb..19a53f2cf 100644 --- a/scene/gui/item_list.h +++ b/scene/gui/item_list.h @@ -107,6 +107,8 @@ private: real_t icon_scale; + bool do_autoscroll_to_bottom; + Array _get_items() const; void _set_items(const Array &p_items); @@ -212,6 +214,8 @@ public: Size2 get_minimum_size() const; + void set_autoscroll_to_bottom(const bool p_enable); + VScrollBar *get_v_scroll() { return scroll_bar; } ItemList(); |
