fix: ellipsized sync status text at connections

This commit is contained in:
ardocrat 2024-08-12 18:30:10 +03:00
parent 5c1ffb5636
commit 09cfb84b94

View file

@ -171,7 +171,7 @@ impl ConnectionsContent {
DOTS_THREE_CIRCLE DOTS_THREE_CIRCLE
}; };
let status_text = format!("{} {}", status_icon, Node::get_sync_status_text()); let status_text = format!("{} {}", status_icon, Node::get_sync_status_text());
ui.label(RichText::new(status_text).size(15.0).color(Colors::text(false))); View::ellipsize_text(ui, status_text, 15.0, Colors::text(false));
ui.add_space(1.0); ui.add_space(1.0);
// Setup node API address text. // Setup node API address text.