mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Add set_pivot to text component
This commit is contained in:
@@ -12,12 +12,13 @@ end
|
||||
local function init_top_panel(self)
|
||||
self.druid:new_button("button_left/button", on_control_button, "left")
|
||||
self.druid:new_button("button_right/button", on_control_button, "right")
|
||||
self.header = self.druid:new_text("text_header", "main_page", true)
|
||||
self.header = self.druid:new_locale("text_header", "main_page")
|
||||
end
|
||||
|
||||
|
||||
function init(self)
|
||||
druid.set_default_style(empty_style)
|
||||
druid.set_default_style(bounce_style)
|
||||
self.druid = druid.new(self)
|
||||
|
||||
init_top_panel(self)
|
||||
|
Reference in New Issue
Block a user