All --
I’ve just started using Eureka forms builder on an iOS project, and it has a lot of wonderful features. It’s very nicely done.
However, I eventually realized that there doesn’t seem to be a good way to customize the Height of any given row. [Interestingly, in the Example app, many different rows demonstrating different features are all the same height.]
Granted I can override heightForRowAtIndexPath (which I’ve tried) ... but rows (and indexes) get added dynamically when they’re hidden and unhidden, which makes things more complicated.
Before getting into even more workarounds for this: Is there a simpler / more elegant way of adjusting individual row heights within the framework itself?
I’d like to set the height of any given row within the definition of each Row, or its .cellSetup
, .cellUpdate
or similar closures.
Or even better, is there a straightforward way to have the UITableView respect the ‘intrinsic’ dimensions of only those labels which are used, according to the actual font sizes used? In other words, if the font in a given row is smaller, that row height should be correspondingly less.
Your help very much appreciated at this point.
Thank you in advance!
try with this
<<< TextRow().cellSetup({ (cell, row) in
cell.height = ({return 10})
})
this will change the height, I Hope this helps you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With