From c57977943d20020aeba50d13b44e70e738b0af25 Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Mon, 2 Jan 2023 11:30:36 +1300 Subject: [PATCH] Change buttons --- src/ui/feed.rs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/ui/feed.rs b/src/ui/feed.rs index 9dd3d77b..2abdef3d 100644 --- a/src/ui/feed.rs +++ b/src/ui/feed.rs @@ -32,10 +32,8 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, frame: &mut eframe::Fram ui.with_layout(Layout::right_to_left(Align::TOP), |ui| { if ui - .button(&format!( - "Query relays for {} missing events", - desired_count - )) + .button(&format!("QM {}", desired_count)) + .on_hover_text("Query Relays for Missing Events") .clicked() { let tx = GLOBALS.to_overlord.clone(); @@ -47,7 +45,8 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, frame: &mut eframe::Fram } if ui - .button(&format!("Process {} incoming events", incoming_count)) + .button(&format!("PQ {}", incoming_count)) + .on_hover_text("Process Queue of Incoming Events") .clicked() { let tx = GLOBALS.to_overlord.clone(); @@ -58,10 +57,10 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, frame: &mut eframe::Fram }); } - if ui.button("▶ close all").clicked() { + if ui.button("close all").clicked() { app.hides = feed.clone(); } - if ui.button("▼ open all").clicked() { + if ui.button("open all").clicked() { app.hides.clear(); } });