diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-10 09:38:38 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-10 09:38:38 +0200 |
commit | 6951ec6eea8227ae0fe1eeeb65c3a38e71841d10 (patch) | |
tree | 4696262eb2ad5a176c2fc8266e3f7cbb754af4e7 /include/gui/List.hpp | |
parent | b686271ee95b30cef7bf8b7dec3c44d3bb649115 (diff) |
Save all settings to file, hide more settings behind advanced view
Diffstat (limited to 'include/gui/List.hpp')
-rw-r--r-- | include/gui/List.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gui/List.hpp b/include/gui/List.hpp index 426a66e..241a75c 100644 --- a/include/gui/List.hpp +++ b/include/gui/List.hpp @@ -36,6 +36,8 @@ namespace gsr { // Returns nullptr if index is invalid Widget* get_child_widget_by_index(size_t index) const; + void set_spacing(float spacing); + mgl::vec2f get_size() override; private: void update(); @@ -47,5 +49,6 @@ namespace gsr { Orientation orientation; Alignment content_alignment; bool inside_event_handler = false; + float spacing_scale = 0.009f; }; }
\ No newline at end of file |