ui: window stroke for title panel, bottom padding and corners

This commit is contained in:
ardocrat
2024-06-21 16:37:27 +03:00
parent 35a974aba9
commit 7ab64da9ee
3 changed files with 26 additions and 9 deletions
+2
View File
@@ -55,6 +55,7 @@ impl NetworkContent {
egui::TopBottomPanel::bottom("node_tabs_panel")
.resizable(false)
.frame(egui::Frame {
stroke: Stroke::NONE,
fill: Colors::fill(),
inner_margin: Margin {
left: View::get_left_inset() + 4.0,
@@ -82,6 +83,7 @@ impl NetworkContent {
.resizable(false)
.exact_width(ui.available_width())
.frame(egui::Frame {
stroke: Stroke::NONE,
..Default::default()
})
.show_animated_inside(ui, !show_connections, |ui| {
+2
View File
@@ -109,6 +109,7 @@ impl Root {
.resizable(false)
.exact_width(panel_width)
.frame(egui::Frame {
stroke: egui::Stroke::NONE,
fill: Colors::white_or_black(false),
..Default::default()
})
@@ -119,6 +120,7 @@ impl Root {
// Show wallets content.
egui::CentralPanel::default()
.frame(egui::Frame {
stroke: egui::Stroke::NONE,
fill: Colors::fill_deep(),
..Default::default()
})