diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-07-11 15:46:55 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-07-11 15:46:55 +1000 |
| commit | 6d29b9f007447bfc71dc1d38d295f80ca8cc0ba4 (patch) | |
| tree | 1a97c76fad8209ecbcab3a8b4dfef9342db5bab4 /src | |
| parent | ec71647d4d26928d3d4bdfdc537cd3da2ea7f29f (diff) | |
| download | tangara-fw-6d29b9f007447bfc71dc1d38d295f80ca8cc0ba4.tar.gz | |
Hide unhelpful scrollbar
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/screen_track_browser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/screen_track_browser.cpp b/src/ui/screen_track_browser.cpp index 93ca277e..b41c129e 100644 --- a/src/ui/screen_track_browser.cpp +++ b/src/ui/screen_track_browser.cpp @@ -8,6 +8,7 @@ #include <memory> #include "core/lv_obj.h" +#include "core/lv_obj_scroll.h" #include "database.hpp" #include "event_queue.hpp" #include "extra/layouts/flex/lv_flex.h" @@ -69,6 +70,7 @@ TrackBrowser::TrackBrowser( lv_obj_set_flex_flow(root_, LV_FLEX_FLOW_COLUMN); lv_obj_set_flex_align(root_, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_START, LV_FLEX_ALIGN_START); + lv_obj_set_scrollbar_mode(root_, LV_SCROLLBAR_MODE_OFF); lv_obj_t* header = lv_obj_create(root_); lv_obj_set_size(header, lv_pct(100), 15); |
