Skip to main content

约束增加最大范围选项


111295

在制作文本组件时用了自动填充文本插件,文本内容长短不同,有些文本太长导致组件超出画框。
约束选项可以增加一个最大文本高度的限制吗?在最大高度内组件可以随文本高度自定义高度,超出最大高度的文本省略显示,组件固定高度固定。

Gleb
  • Power Member
  • April 16, 2021

I used google translate to read your message but it’s not entirely clear. Do you mean you want this: Min and Max Width for Auto Layout? Or do you want something different? Screenshots and examples would help to understand your idea better.


111295
  • April 16, 2021

确实是这个问题,看了其他的回复后我决定给最大高度加一个变体,4行之内的最小宽度做自适应内容,感谢你的回复这非常有用!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings