weex icon indicating copy to clipboard operation
weex copied to clipboard

text 宽度不定换行问题

Open yanxlg opened this issue 9 years ago • 4 comments

text自动换行需要指定text的宽度,在flex布局模式下通常宽度是不定的,weex并没有进行处理,希望提供解决方案

yanxlg avatar Mar 27 '17 07:03 yanxlg

指定一个max-width即可

452MJ avatar Jun 29 '17 08:06 452MJ

可以使用flex:1让text宽度撑满剩下的位置,text即可自动换行

Juice007 avatar Nov 01 '17 09:11 Juice007

This PR/issue doesn't received response since Weex migrated to Apache two years ago and this repository is no longer active yet.

Feel free to ask question in new repository and thanks for your contribution.

YorkShen avatar Feb 18 '19 11:02 YorkShen

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.

Hanks10100 avatar May 16 '21 10:05 Hanks10100