accounts: max list height

This commit is contained in:
ardocrat 2024-04-22 16:44:04 +03:00
parent 6258cca760
commit cd89b879c6

View file

@ -294,7 +294,7 @@ impl WalletContent {
// Show list of accounts. // Show list of accounts.
let size = self.accounts.len(); let size = self.accounts.len();
ScrollArea::vertical() ScrollArea::vertical()
.max_height(285.0) .max_height(266.0)
.id_source("account_list_modal_scroll") .id_source("account_list_modal_scroll")
.auto_shrink([true; 2]) .auto_shrink([true; 2])
.show_rows(ui, ACCOUNT_ITEM_HEIGHT, size, |ui, row_range| { .show_rows(ui, ACCOUNT_ITEM_HEIGHT, size, |ui, row_range| {