mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +08:00
improve edit to redraw after call edit_set_text
This commit is contained in:
parent
0abacd1af7
commit
a98a015a13
@ -4,6 +4,7 @@
|
||||
* 修复 slider 控件的 bar\_size 属性过大画面不正常的问题(感谢智明提供补丁)
|
||||
* 修改 mutable\_image 支持在 desiger 界面上面不刷新的功能(感谢智明提供补丁)
|
||||
* 修复WHEEL\_BEFORE\_CHILDREN事件无法通过wheel\_event\_cast转换的问题(感谢福明提供补丁)
|
||||
* 修改调用edit\_set\_text等函数后没有重绘的问题。
|
||||
|
||||
2021/03/28
|
||||
* 修改一些注释错误。
|
||||
|
@ -1260,7 +1260,7 @@ static ret_t edit_set_text(widget_t* widget, const value_t* v) {
|
||||
|
||||
wstr_reset(&str);
|
||||
|
||||
return RET_OK;
|
||||
return widget_invalidate_force(widget, NULL);
|
||||
}
|
||||
|
||||
ret_t edit_set_prop(widget_t* widget, const char* name, const value_t* v) {
|
||||
|
Loading…
Reference in New Issue
Block a user