-
I've tried making a flexbox scrollable, without much success. I tried modifying the flexbox gallery example as follows: @@ -121,7 +121,7 @@ int main(int argc, const char* argv[]) {
if (!group_yflex_grow)
group = vbox(group, filler());
- group = group | flex;
+ group = group | flex | vscroll_indicator | frame;
return group;
}); Is my approach wrong or is this not supported? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@ArthurSonzogni is this perhaps the same bug as in #546? |
Beta Was this translation helpful? Give feedback.
-
To answer my own question: the issue here is that simply adding a |
Beta Was this translation helpful? Give feedback.
To answer my own question: the issue here is that simply adding a
vscroll_indicator
doesn't suffice. The group must contain focusable elements, otherwise scrolling is not an option. This can be achieved by using an appropriate renderer or putting components into a container.