While I generally like Lua this code just looks .. not so Lua - like, it definitely is Lua, but it could look much better by utilizing language features like "Parenthesis-free calls":<p><pre><code> ui.Button "Button Text" {
on_click = function()
print("Hello world")
end,
disabled = true
}
</code></pre>
or<p><pre><code> ui.VStack {
padding = 31, -- Named key => option
wrap = true,
ui.Button "..." {}, -- Indexed by number => children
}
</code></pre>
feels more Lua and slightly cleaner imo