Factored out method to choose the font and use that for height calculations and in setObject
[UI] fixed layout bug in TTTableImageItemCell
factored out method to choose the font
and use that for height calculations and in setObject
Which bug is this fixing?
the cell uses 2 different fonts the different table items it handles, but height calculation was solely based on TTSTYLEVAR(tableSmallFont).
To fix it, the decision which font to use was factored out and is now used in height calculation (+heightFor...) and during configuration (setObject:)
better commit message might be:
[UI] Fix height calculation of TTTableImageItems'
Ah cool, that makes sense now :)
Does this commit fix any known issue?
was reported on IRC by dwery...
Ah cool, was just curious whether there were any issues to close, thanks!
Merge branch 'fix-layout-bug-tableImageItemCell' into development
Closed by 2712bf0.