add object visualzation to playground

This commit is contained in:
lxsang
2019-05-06 16:08:46 +02:00
parent d04fc7a2af
commit ad1019391a
11 changed files with 453 additions and 24 deletions

View File

@ -8,7 +8,7 @@ afx-app-window[data-id="LuaPlayground"] div[data-id="output"] p{
afx-app-window[data-id="LuaPlayground"] div[data-id="output"]{
background-color: #2f3129;
padding: 10px;
padding-left: 40px;
/*padding-left: 40px;*/
color:white;
overflow: auto;
}
@ -25,4 +25,9 @@ afx-app-window[data-id="LuaPlayground"] afx-hbox[data-id="bottom-vbox"] afx-butt
color:white;
border:0;
border-radius: 0;
}
afx-app-window[data-id="LuaPlayground"] canvas.viewer {
background-color: white;
display: inline;
}

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,12 @@
<afx-app-window apptitle="Lua Playground" width="500" height="450" data-id="LuaPlayground">
<afx-vbox >
<div data-id="editorea"></div>
<afx-resizer data-height="1"></afx-resizer>
<afx-hbox data-height="20" data-id="bottom-vbox">
<afx-button data-id = "log-clear" data-width="25" iconclass="fa fa-trash"></afx-button>
</afx-hbox>
<afx-app-window apptitle="Lua Playground" width="500" height="400" data-id="LuaPlayground">
<afx-hbox >
<div data-id="editorea" data-width="250"></div>
<afx-resizer data-width="3"></afx-resizer>
<afx-vbox>
<afx-hbox data-height="20" data-id="bottom-vbox">
<afx-button data-id = "log-clear" data-width="25" iconclass="fa fa-trash"></afx-button>
</afx-hbox>
<div data-id="output"></div>
</afx-vbox>
</afx-vbox>
</afx-hbox>
</afx-app-window>