Digital ACT-191 ONEAPP-6827 story: setting content alignment

This commit is contained in:
vasavk 2024-03-26 12:50:50 +05:30
parent 1b89c8b2da
commit d5138dcdd3

View File

@ -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.