Use vscroll_indicator in examples.

This commit is contained in:
ArthurSonzogni
2021-09-26 17:30:41 +02:00
committed by Arthur Sonzogni
parent 535974d291
commit 84287eb217
5 changed files with 35 additions and 27 deletions

View File

@@ -24,7 +24,8 @@ int main(int argc, const char* argv[]) {
}
auto renderer = Renderer(container, [&] {
return container->Render() | frame | size(HEIGHT, LESS_THAN, 10) | border;
return container->Render() | vscroll_indicator | frame |
size(HEIGHT, LESS_THAN, 10) | border;
});
auto screen = ScreenInteractive::FitComponent();