Add set_pivot to text component

This commit is contained in:
Insality
2020-01-11 15:04:53 +05:00
parent c3752dba54
commit 59c9dc8a9b
6 changed files with 43 additions and 20 deletions

View File

@@ -26,17 +26,17 @@ end
local function setup_texts(self)
self.druid:new_text("text_button", "ui_section_button", true)
self.druid:new_text("text_text", "ui_section_text", true)
self.druid:new_text("text_timer", "ui_section_timer", true)
self.druid:new_text("text_progress", "ui_section_progress", true)
self.druid:new_text("text_slider", "ui_section_slider", true)
self.druid:new_text("text_radio", "ui_section_radio", true)
self.druid:new_text("text_checkbox", "ui_section_checkbox", true)
self.druid:new_locale("text_button", "ui_section_button")
self.druid:new_locale("text_text", "ui_section_text")
self.druid:new_locale("text_timer", "ui_section_timer")
self.druid:new_locale("text_progress", "ui_section_progress")
self.druid:new_locale("text_slider", "ui_section_slider")
self.druid:new_locale("text_radio", "ui_section_radio")
self.druid:new_locale("text_checkbox", "ui_section_checkbox")
self.druid:new_locale("text_translated", "ui_text_example")
self.druid:new_locale("text_button_lang", "ui_text_change_lang")
self.druid:new_text("text_simple", "Simple")
self.druid:new_text("text_translated", "ui_text_example", true)
self.druid:new_text("text_button_lang", "ui_text_change_lang", true, 150 * 0.7)
end