fix: wallet list bottom padding

This commit is contained in:
ardocrat 2024-05-31 07:29:29 +03:00
parent f86988eab6
commit 8e6a91470f
2 changed files with 34 additions and 36 deletions

View file

@ -640,7 +640,7 @@ impl View {
ui.set_opacity(0.9);
egui::Image::new(logo).fit_to_exact_size(egui::vec2(182.0, 182.0)).ui(ui);
});
ui.add_space(-12.0);
ui.add_space(-11.0);
ui.label(RichText::new("GRIM")
.size(24.0)
.color(Colors::white_or_black(true))

View file

@ -205,8 +205,8 @@ impl WalletsContent {
inner_margin: Margin {
left: View::far_left_inset_margin(ui) + 4.0,
right: View::far_right_inset_margin(ui) + 4.0,
top: 4.0,
bottom: View::get_bottom_inset() + 4.0,
top: 3.0,
bottom: 4.0,
},
..Default::default()
}
@ -325,7 +325,6 @@ impl WalletsContent {
fn wallet_list_ui(&mut self,
ui: &mut egui::Ui,
cb: &dyn PlatformCallbacks) {
ui.scope(|ui| {
ScrollArea::vertical()
.id_source("wallet_list")
.scroll_bar_visibility(ScrollBarVisibility::AlwaysHidden)
@ -362,7 +361,6 @@ impl WalletsContent {
});
});
});
});
}
/// Draw wallet list item.