mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +08:00
improve dialog
This commit is contained in:
parent
a19e857dd3
commit
b9916610a1
@ -1,5 +1,10 @@
|
||||
# 最新动态
|
||||
|
||||
2021/05/11
|
||||
* 增加widget\_back/widget\_back\_to\_home。
|
||||
* 完善WINDOW\_CLOSABLE\_CONFIRM的处理。
|
||||
* 完善dialog\_helper。
|
||||
|
||||
2021/05/08
|
||||
* 重构popup和相关测试。
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user