add subtitiles to dialogs

This commit is contained in:
Evgeny
2021-08-19 08:24:18 +03:00
parent 5a7717d4d8
commit 27b3cf6aae
5 changed files with 176 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ end
function on_click(idx)
if idx == 1 then
ui:show_dialog("Dialog title", "This is dialog")
ui:show_dialog("Dialog title\nSubtitle", "This is dialog")
elseif idx == 2 then
ui:show_dialog("Dialog title", "This is dialog", "Button 1", "Button 2")
elseif idx == 3 then