can setup text max width (#14)

This commit is contained in:
Maxim Tuprikov
2019-03-30 01:01:24 +03:00
committed by GitHub
parent e6ac9e5725
commit 8be103111b
2 changed files with 23 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ function init(self)
print("On android back", params)
end, 2)
self.druid:new_text("text_2", "Simple text")
self.druid:new_text("text_2", "Simple text", false, 400)
self.druid:new_text("text_3", "locale_text", true)
self.druid:new_timer("text_1", 5, 0, function()