ui: optimize bottom panels
This commit is contained in:
parent
93988e6c5d
commit
bbd8bbc78b
3 changed files with 3 additions and 2 deletions
|
@ -54,6 +54,7 @@ impl NetworkContent {
|
||||||
.resizable(false)
|
.resizable(false)
|
||||||
.frame(egui::Frame {
|
.frame(egui::Frame {
|
||||||
fill: Colors::FILL,
|
fill: Colors::FILL,
|
||||||
|
stroke: View::ITEM_STROKE,
|
||||||
inner_margin: Margin {
|
inner_margin: Margin {
|
||||||
left: View::get_left_inset() + 4.0,
|
left: View::get_left_inset() + 4.0,
|
||||||
right: View::far_right_inset_margin(ui) + 4.0,
|
right: View::far_right_inset_margin(ui) + 4.0,
|
||||||
|
|
|
@ -173,8 +173,8 @@ impl WalletsContent {
|
||||||
// Show wallets bottom panel.
|
// Show wallets bottom panel.
|
||||||
egui::TopBottomPanel::bottom("wallets_bottom_panel")
|
egui::TopBottomPanel::bottom("wallets_bottom_panel")
|
||||||
.frame(egui::Frame {
|
.frame(egui::Frame {
|
||||||
|
stroke: View::ITEM_STROKE,
|
||||||
fill: Colors::FILL,
|
fill: Colors::FILL,
|
||||||
stroke: View::DEFAULT_STROKE,
|
|
||||||
inner_margin: Margin {
|
inner_margin: Margin {
|
||||||
left: View::get_left_inset() + 4.0,
|
left: View::get_left_inset() + 4.0,
|
||||||
right: View::far_right_inset_margin(ui) + 4.0,
|
right: View::far_right_inset_margin(ui) + 4.0,
|
||||||
|
|
|
@ -104,7 +104,7 @@ impl WalletContent {
|
||||||
// Show wallet tabs panel.
|
// Show wallet tabs panel.
|
||||||
egui::TopBottomPanel::bottom("wallet_tabs")
|
egui::TopBottomPanel::bottom("wallet_tabs")
|
||||||
.frame(egui::Frame {
|
.frame(egui::Frame {
|
||||||
stroke: View::DEFAULT_STROKE,
|
stroke: View::ITEM_STROKE,
|
||||||
fill: Colors::FILL,
|
fill: Colors::FILL,
|
||||||
inner_margin: Margin {
|
inner_margin: Margin {
|
||||||
left: View::far_left_inset_margin(ui) + 4.0,
|
left: View::far_left_inset_margin(ui) + 4.0,
|
||||||
|
|
Loading…
Reference in a new issue