update docs

This commit is contained in:
lixianjing 2020-10-08 08:08:11 +08:00
parent 483de16803
commit c050f8bc08
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# 最新动态
2020/10/08
* 增加 auto\_adjust\_size 属性。为 true 时,根据子控件以及文本调整空间自身大小(此时最好不要使用 child_layout否则可能有冲突
2020/10/07
* label 支持自动换行。

View File

@ -351,6 +351,8 @@ struct _widget_t {
* @property {bool_t} auto_adjust_size
* @annotation ["set_prop","get_prop","readable","writable","persitent","design","scriptable"]
*
*
*> true时使child_layout
*/
uint8_t auto_adjust_size: 1;