mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-12 14:44:36 +08:00
Use vscroll_indicator in examples.
This commit is contained in:

committed by
Arthur Sonzogni

parent
535974d291
commit
84287eb217
@@ -18,7 +18,8 @@ int main(int argc, const char* argv[]) {
|
||||
entries.push_back("Entry " + std::to_string(i));
|
||||
auto radiobox = Menu(&entries, &selected);
|
||||
auto renderer = Renderer(radiobox, [&] {
|
||||
return radiobox->Render() | frame | size(HEIGHT, LESS_THAN, 10) | border;
|
||||
return radiobox->Render() | vscroll_indicator | frame |
|
||||
size(HEIGHT, LESS_THAN, 10) | border;
|
||||
});
|
||||
|
||||
auto screen = ScreenInteractive::FitComponent();
|
||||
|
Reference in New Issue
Block a user