From 2a4b7158ecf8178024ccb60b7be542394ca182d5 Mon Sep 17 00:00:00 2001 From: Nabil Khalil Date: Tue, 14 Jan 2025 14:16:31 -0800 Subject: [PATCH] updated height method to force twoline layout for large size --- Sources/FluentUI_iOS/Components/Table View/TableViewCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/FluentUI_iOS/Components/Table View/TableViewCell.swift b/Sources/FluentUI_iOS/Components/Table View/TableViewCell.swift index ff03d47ce..1908d6337 100644 --- a/Sources/FluentUI_iOS/Components/Table View/TableViewCell.swift +++ b/Sources/FluentUI_iOS/Components/Table View/TableViewCell.swift @@ -233,7 +233,7 @@ open class TableViewCell: UITableViewCell, TokenizedControl { footerLeadingAccessoryView: footerLeadingAccessoryView, footerTrailingAccessoryView: footerTrailingAccessoryView) // Layout type should accommodate for the customViewSize, even if it is only one line. - if customViewSize == .medium && layoutType == .oneLine { + if (customViewSize == .medium || customViewSize == .large) && layoutType == .oneLine { layoutType = .twoLines } let customViewSize = Self.customViewSize(from: customViewSize, layoutType: layoutType)