Open wenchao5211 opened 5 years ago
嗯,确实存在这个问题。
我是通过设置label的preferredMaxLayoutWidth参数解决的
preferredMaxLayoutWidth 亲测有效
感谢,这个找到资料弄了好久,后来没把问题撤回
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: Guo Yu <notifications@github.com> 发送时间: 2020年4月24日 16:39 收件人: forkingdog/UITableView-FDTemplateLayoutCell <UITableView-FDTemplateLayoutCell@noreply.github.com> 抄送: 大太阳 <853724284@qq.com>, Author <author@noreply.github.com> 主题: 回复:[forkingdog/UITableView-FDTemplateLayoutCell] 多个lable 某个lable高度计算过高, (#395)
preferredMaxLayoutWidth 亲测有效
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
当cell里存在多个lable的时候,用xib从上到下布局,会出现中间的lable高度计算过高,导致整个cell高度错乱