improve dialog

This commit is contained in:
lixianjing 2021-05-11 10:36:55 +08:00
parent a19e857dd3
commit b9916610a1
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,10 @@
# 最新动态
2021/05/11
* 增加widget\_back/widget\_back\_to\_home。
* 完善WINDOW\_CLOSABLE\_CONFIRM的处理。
* 完善dialog\_helper。
2021/05/08
* 重构popup和相关测试。

View File

@ -119,6 +119,7 @@ ret_t dialog_simple_show(const char* stitle, const char* scontent, const char* t
widget_set_prop_str(widget, WIDGET_PROP_THEME, theme);
widget_set_prop_str(widget, WIDGET_PROP_HIGHLIGHT, "default(alpha=40)");
widget_set_text_utf8(dialog, stitle);
title = dialog_title_create(widget, 0, 0, 0, 0);
goto_error_if_fail(title != NULL);