From d5138dcdd39127f32ff6294c4c2ef5309e510b94 Mon Sep 17 00:00:00 2001 From: vasavk Date: Tue, 26 Mar 2024 12:50:50 +0530 Subject: [PATCH] Digital ACT-191 ONEAPP-6827 story: setting content alignment --- VDS/Components/Breadcrumbs/BreadcrumbItem.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VDS/Components/Breadcrumbs/BreadcrumbItem.swift b/VDS/Components/Breadcrumbs/BreadcrumbItem.swift index 3b279551..466c1d61 100644 --- a/VDS/Components/Breadcrumbs/BreadcrumbItem.swift +++ b/VDS/Components/Breadcrumbs/BreadcrumbItem.swift @@ -66,6 +66,9 @@ open class BreadcrumbItem: ButtonBase { isAccessibilityElement = true accessibilityTraits = .button accessibilityLabel = "Breadcrumb" + contentHorizontalAlignment = .leading + titleLabel?.numberOfLines = 0 + titleLabel?.lineBreakMode = .byWordWrapping } /// Used to make changes to the View based off a change events or from local properties.