Skip to content

Commit

Permalink
fix(ui): ellipsize file names in evidence
Browse files Browse the repository at this point in the history
  • Loading branch information
lilopkins committed Dec 13, 2024
1 parent 22ae203 commit 22b3ffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/evidenceangel-ui/evidence_factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ impl FactoryComponent for EvidenceFactoryModel {
}
EvidenceKind::File => {
let label = gtk::Label::default();
label.set_ellipsize(gtk::pango::EllipsizeMode::Middle);
if let Some(filename) = self.evidence.read().unwrap().original_filename() {
label.set_markup(&lang::lookup_with_args(
"test-evidence-file-named",
Expand Down

0 comments on commit 22b3ffc

Please sign in to comment.