From bbd8bbc78b0a095dbd3aafd4dd1e556d80be6ecc Mon Sep 17 00:00:00 2001 From: ardocrat Date: Wed, 17 Apr 2024 02:32:56 +0300 Subject: [PATCH] ui: optimize bottom panels --- src/gui/views/network/content.rs | 1 + src/gui/views/wallets/content.rs | 2 +- src/gui/views/wallets/wallet/content.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/views/network/content.rs b/src/gui/views/network/content.rs index 4abf9c0..7d56774 100644 --- a/src/gui/views/network/content.rs +++ b/src/gui/views/network/content.rs @@ -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, diff --git a/src/gui/views/wallets/content.rs b/src/gui/views/wallets/content.rs index e70b5ee..9f717ca 100644 --- a/src/gui/views/wallets/content.rs +++ b/src/gui/views/wallets/content.rs @@ -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, diff --git a/src/gui/views/wallets/wallet/content.rs b/src/gui/views/wallets/wallet/content.rs index 27f2b91..b97fa27 100644 --- a/src/gui/views/wallets/wallet/content.rs +++ b/src/gui/views/wallets/wallet/content.rs @@ -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,