Unable to scroll in frame (based on minor example adaptation) #546
-
I tried to perform a small adaptation of the example that renders checkboxes in a frame. I only exchanged (This is an attempt to simplify a problem with int main(int argc, const char* argv[]) {
static std::array<int, 30> values;
auto container = Container::Vertical({});
for (size_t i = 0; i < 30; ++i)
container->Add(Slider("Value:", &values[i], 0, 100, 1));
auto renderer = Renderer(container, [=] {
return container->Render() | vscroll_indicator | frame | size(HEIGHT, LESS_THAN, 10) | border;
});
auto screen = ScreenInteractive::FitComponent();
screen.Loop(renderer);
return 0;
} What is the missing ingredient? |
Beta Was this translation helpful? Give feedback.
Answered by
ArthurSonzogni
Jan 5, 2023
Replies: 1 comment
-
Hello, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mavam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
You found a bug. Thanks for reporting it.