mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-07-24 21:21:12 +08:00
Revert example dropdown
This commit is contained in:
parent
dda2896700
commit
4b0d687c5f
@ -30,12 +30,12 @@ int main() {
|
||||
|
||||
auto layout = Container::Vertical({
|
||||
Container::Horizontal({
|
||||
Dropdown(&entries, &selected_1, { .on_change = [&] { selected_3 = selected_1; } } ), // Keep in sync with selected_3.
|
||||
Dropdown(&entries, &selected_1),
|
||||
Dropdown(&entries, &selected_2),
|
||||
}),
|
||||
Container::Horizontal({
|
||||
Dropdown(&entries, &selected_3, { .border = false }),
|
||||
Dropdown(&entries, &selected_4, { .border = false }),
|
||||
Dropdown(&entries, &selected_3),
|
||||
Dropdown(&entries, &selected_4),
|
||||
}),
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user