Skip to content
Snippets Groups Projects
Commit 473cd2e6 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@1351 51575b47-30f0-44d4-a5cc-537603b46e54
parent 23bc3493
No related branches found
No related tags found
No related merge requests found
......@@ -40,11 +40,13 @@ function _M:init()
local b1 = Button.new{text="Ok", fct=function() print"OK" end}
local b2 = Button.new{text="Cancel", fct=function() print"KO" end}
local list = List.new{width=200, height=200, list={
{name="toto"},
{name="tutu"},
{name="plopzor #GOLD#Robe of the Archmage#WHITE#!"},
{name="MOUHAHAHAHAH!"},
local list = List.new{width=200, height=200, columns={
{"Name", 150}, {"Encumber", 50},
}, list={
{name="toto", encumberance="20"},
{name="tutu", encumberance="50"},
{name="plopzor #GOLD#Robe of the Archmage#WHITE#!", encumberance="20"},
{name="MOUHAHAHAHAH!", encumberance="20"},
}, fct=function(item) print(item.name) end}
local d = Dialog.new("Test UI", 400, 300)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment