diff --git a/src/gui/views/network/connections.rs b/src/gui/views/network/connections.rs index ba0b003..4190104 100644 --- a/src/gui/views/network/connections.rs +++ b/src/gui/views/network/connections.rs @@ -94,7 +94,7 @@ impl ConnectionsContent { if saved_chain_type != AppConfig::chain_type() { ExternalConnection::start_ext_conn_availability_check(); } - ui.add_space(5.0); + ui.add_space(6.0); // Show integrated node info content. Self::integrated_node_item_ui(ui); diff --git a/src/gui/views/views.rs b/src/gui/views/views.rs index 82918ec..9092c61 100644 --- a/src/gui/views/views.rs +++ b/src/gui/views/views.rs @@ -636,7 +636,10 @@ impl View { egui::include_image!("../../../img/logo.png") }; // Show application logo and name. - egui::Image::new(logo).fit_to_exact_size(egui::vec2(180.0, 180.0)).ui(ui); + ui.scope(|ui| { + 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.label(RichText::new("GRIM") .size(24.0) @@ -645,7 +648,7 @@ impl View { ui.add_space(-2.0); ui.label(RichText::new(built_info::PKG_VERSION) .size(16.0) - .color(Colors::white_or_black(true)) + .color(Colors::title(false)) ); } diff --git a/src/gui/views/wallets/content.rs b/src/gui/views/wallets/content.rs index e433806..4d85928 100644 --- a/src/gui/views/wallets/content.rs +++ b/src/gui/views/wallets/content.rs @@ -195,36 +195,26 @@ impl WalletsContent { }); }); - if !list_hidden { - egui::CentralPanel::default() - .frame(egui::Frame { - stroke: View::item_stroke(), - fill: Colors::fill_deep(), - inner_margin: Margin { - left: if list_hidden { - 0.0 - } else { - View::far_left_inset_margin(ui) + 4.0 - }, - right: if list_hidden { - 0.0 - } else { - View::far_right_inset_margin(ui) + 4.0 - }, - top: 4.0, - bottom: View::get_bottom_inset() + 4.0, - }, - ..Default::default() - }) - .show_inside(ui, |ui| { - // Update ui after 1 sec at single panel mode. - if !dual_panel { - ui.ctx().request_repaint_after(Duration::from_millis(1000)); - } - // Show list of wallets. - self.wallet_list_ui(ui, cb); - }); - } + egui::CentralPanel::default() + .frame(egui::Frame { + stroke: View::item_stroke(), + fill: Colors::fill_deep(), + 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, + }, + ..Default::default() + }) + .show_inside(ui, |ui| { + // Update ui after 1 sec at single panel mode. + if !dual_panel { + ui.ctx().request_repaint_after(Duration::from_millis(1000)); + } + // Show list of wallets. + self.wallet_list_ui(ui, cb); + }); } /// Draw [`TitlePanel`] content.