From 8ab6e145602ef870f7a7f1e8a1af65ba3d5b331e Mon Sep 17 00:00:00 2001 From: futile Date: Fri, 7 Nov 2025 11:59:57 +0000 Subject: [PATCH] show git commit hash as monospace --- src/gui/app.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/app.rs b/src/gui/app.rs index 151c9e2..fb6dcbc 100644 --- a/src/gui/app.rs +++ b/src/gui/app.rs @@ -243,7 +243,9 @@ impl App { ui.label("(dev)"); } ui.label(format!("v{}", env!("CARGO_PKG_VERSION"))) - .on_hover_text(env!("LATEST_GIT_COMMIT_HASH")); + .on_hover_text( + egui::RichText::new(env!("LATEST_GIT_COMMIT_HASH")).monospace(), + ); }); }); ui.add(egui::Image::new(egui::include_image!(