ADG Lua 

ADG Lua Commit Details

Date:2013-03-31 19:58:17 (6 years 5 months ago)
Author:Nicola Fontana
Branch:master
Commit:c787c36f3839fe4b1704f45da23a175078bf09a8
Parents: 8edef1f8b6bdeff0c7bfc9b6619d8ac6a584552d
Message:adg-web: allow custom canvas size

Changes:
Madg-web.lua (1 diff)

File differences

adg-web.lua
8686
8787
8888
89
89
9090
9191
9292
local n = 1
local canvas = piston.view.detailed
canvas:set_size_explicit(800 - 20, 600 - 20)
canvas:set_size_explicit(request.width or 800, request.height or 600)
canvas:set_top_margin(10)
canvas:set_bottom_margin(10)
canvas:set_left_margin(10)

Archive Download the corresponding diff file

Branches

Tags