mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 04:31:34 +08:00
Fix button example. (#102)
This commit is contained in:
parent
7b88656e25
commit
84debba10c
@ -14,8 +14,8 @@ int main(int argc, const char* argv[]) {
|
||||
|
||||
// The tree of components. This defines how to navigate using the keyboard.
|
||||
auto buttons = Container::Horizontal({
|
||||
Button("[Decrease]", [&] { value--; }, false),
|
||||
Button("[Increase]", [&] { value++; }, false),
|
||||
Button("Decrease", [&] { value--; }),
|
||||
Button("Increase", [&] { value++; }),
|
||||
});
|
||||
|
||||
// Modify the way to render them on screen:
|
||||
|
Loading…
Reference in New Issue
Block a user