From aba977dd776f6aa4c63d1d855299f644cd5857c8 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 15 Nov 2022 10:12:42 -0600 Subject: [PATCH] fixed bug of accidental removal Signed-off-by: Matt Bruce --- VDS/Components/Badge/Badge.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VDS/Components/Badge/Badge.swift b/VDS/Components/Badge/Badge.swift index 94c4b8e0..288ebf9b 100644 --- a/VDS/Components/Badge/Badge.swift +++ b/VDS/Components/Badge/Badge.swift @@ -21,6 +21,9 @@ public class Badge: View, Accessable { private var label = Label().with { $0.setContentCompressionResistancePriority(.required, for: .vertical) $0.adjustsFontSizeToFitWidth = false + $0.lineBreakMode = .byTruncatingTail + $0.textPosition = .left + $0.typograpicalStyle = .BoldBodySmall } //--------------------------------------------------