diff --git a/src/gui/views/network/connections.rs b/src/gui/views/network/connections.rs index 8c9a93a..f299f9c 100644 --- a/src/gui/views/network/connections.rs +++ b/src/gui/views/network/connections.rs @@ -125,10 +125,6 @@ impl ConnectionsContent { ui.allocate_ui_with_layout(rect.size(), Layout::right_to_left(Align::Center), |ui| { // Setup padding for item buttons. ui.style_mut().spacing.button_padding = egui::vec2(14.0, 0.0); - // Setup rounding for item buttons. - ui.style_mut().visuals.widgets.inactive.rounding = Rounding::same(8.0); - ui.style_mut().visuals.widgets.hovered.rounding = Rounding::same(8.0); - ui.style_mut().visuals.widgets.active.rounding = Rounding::same(8.0); // Draw button to show integrated node info. View::item_button(ui, View::item_rounding(0, 1, true), CARET_RIGHT, None, || { diff --git a/src/gui/views/wallets/content.rs b/src/gui/views/wallets/content.rs index b563b34..1a7403e 100644 --- a/src/gui/views/wallets/content.rs +++ b/src/gui/views/wallets/content.rs @@ -385,10 +385,6 @@ impl WalletsContent { ui.allocate_ui_with_layout(rect.size(), Layout::right_to_left(Align::Center), |ui| { // Setup padding for item buttons. ui.style_mut().spacing.button_padding = egui::vec2(14.0, 0.0); - // Setup rounding for item buttons. - ui.style_mut().visuals.widgets.inactive.rounding = Rounding::same(8.0); - ui.style_mut().visuals.widgets.hovered.rounding = Rounding::same(8.0); - ui.style_mut().visuals.widgets.active.rounding = Rounding::same(8.0); if !wallet.is_open() { // Show button to open closed wallet. diff --git a/src/gui/views/wallets/setup/connection.rs b/src/gui/views/wallets/setup/connection.rs index 33b9498..906ec12 100644 --- a/src/gui/views/wallets/setup/connection.rs +++ b/src/gui/views/wallets/setup/connection.rs @@ -192,10 +192,6 @@ impl ConnectionSetup { ui.allocate_ui_with_layout(rect.size(), Layout::right_to_left(Align::Center), |ui| { // Setup padding for item buttons. ui.style_mut().spacing.button_padding = egui::vec2(14.0, 0.0); - // Setup rounding for item buttons. - ui.style_mut().visuals.widgets.inactive.rounding = Rounding::same(8.0); - ui.style_mut().visuals.widgets.hovered.rounding = Rounding::same(8.0); - ui.style_mut().visuals.widgets.active.rounding = Rounding::same(8.0); // Draw button to select integrated node if it was not selected. let is_current_method = self.method == ConnectionMethod::Integrated;