Fix for CXTDT-586375, default to compact padding, when striped is selected.

This commit is contained in:
Sumanth Nadigadda 2024-07-18 19:51:18 +05:30
parent f9ad75cb32
commit 94fe752541

View File

@ -83,6 +83,9 @@ class TableViewController: BaseViewController<Table> {
var rows = self?.component.tableRows ?? [TableRowModel]()
self?.updateBottomLineStyle(items:&rows, style: rowStyle?.lineStyle())
self?.component.tableRows = rows
self?.component.padding = .compact
self?.paddingPicker.text = Table.Padding.compact.rawValue
}
fillContainer.onChange = { [weak self] sender in