mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
gui.template test
This commit is contained in:
parent
0863e40b3b
commit
e059b9395f
3 changed files with 50 additions and 0 deletions
15
res/layouts/templates/pack.xml
Normal file
15
res/layouts/templates/pack.xml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<container onclick='%{callback}' size='540,80' color='#0F1E2DB2'>
|
||||
<label pos='215,2' color='#FFFFFF80' size='300,25' align='right'>
|
||||
[%{id}]
|
||||
</label>
|
||||
<label pos='78,6'>%{title}</label>
|
||||
<label if='%{creator}' color='#CCFFE5B2' size='300,20' align='right' pos='215,60'>
|
||||
%{creator}
|
||||
</label>
|
||||
<label pos='80,28' color='#FFFFFFB2'>
|
||||
%{description}
|
||||
</label>
|
||||
<button if='%{remover}' onclick='%{remover}' color='0' hover-color='#FFFFFF2B'>
|
||||
<image src='gui/cross' size='32,32'/>
|
||||
</button>
|
||||
</container>
|
||||
Loading…
Add table
Add a link
Reference in a new issue