ui.sidebar('Aspect Ratio', 'battery-full')
main = ui.create("Main")
aspect = main:slider("Aspect ratio", 0, 30, 0)
aspect:set_callback(function()
cvar.r_aspectratio:float(aspect:get() / 10)
end, false)
events.shutdown:set(function()
cvar.r_aspectratio:float(0)
end)