ui: optimize bottom panels

This commit is contained in:
ardocrat 2024-04-17 02:32:56 +03:00
parent 93988e6c5d
commit bbd8bbc78b
3 changed files with 3 additions and 2 deletions

View file

@ -54,6 +54,7 @@ impl NetworkContent {
.resizable(false)
.frame(egui::Frame {
fill: Colors::FILL,
stroke: View::ITEM_STROKE,
inner_margin: Margin {
left: View::get_left_inset() + 4.0,
right: View::far_right_inset_margin(ui) + 4.0,

View file

@ -173,8 +173,8 @@ impl WalletsContent {
// Show wallets bottom panel.
egui::TopBottomPanel::bottom("wallets_bottom_panel")
.frame(egui::Frame {
stroke: View::ITEM_STROKE,
fill: Colors::FILL,
stroke: View::DEFAULT_STROKE,
inner_margin: Margin {
left: View::get_left_inset() + 4.0,
right: View::far_right_inset_margin(ui) + 4.0,

View file

@ -104,7 +104,7 @@ impl WalletContent {
// Show wallet tabs panel.
egui::TopBottomPanel::bottom("wallet_tabs")
.frame(egui::Frame {
stroke: View::DEFAULT_STROKE,
stroke: View::ITEM_STROKE,
fill: Colors::FILL,
inner_margin: Margin {
left: View::far_left_inset_margin(ui) + 4.0,