open dialog list files and thumbnail preview

This commit is contained in:
2017-08-10 23:43:57 +01:00
parent 5bc9d443bc
commit 178c944df1
6 changed files with 141 additions and 23 deletions

View File

@@ -187,10 +187,10 @@
</layout>
<layout id="dialog-open-item">
<node dir="row">
<image-texture id="thumb-tex" width="64" height="64"/>
<text text="Longer description for the error or the message." font-face="arial" font-size="11"></text>
</node>
<border dir="row" color=".4 .4 .4 .8" pad="4">
<!--<image-texture id="thumb-tex" width="64" height="64"/>-->
<text id="title" text="Title" font-face="arial" font-size="11"/>
</border>
</layout>
<!-- Open Dialog Popup -->
@@ -201,9 +201,14 @@
<text text="Open PanoPainter Project" font-face="arial" font-size="11"></text>
</border>
<border width="400" color="0 0 0 .9" pad="10" dir="col">
<ref id="dialog-open-item" />
<ref id="dialog-open-item" />
<ref id="dialog-open-item" />
<node dir="row">
<node id="files-list" dir="col"/>
<node dir="col" grow="1" margin="0 0 0 10">
<border height="20" align="center" justify="center" color=".2 .2 .2 1"><text id="info-title" text="Title" font-face="arial" font-size="11"/></border>
<text id="info-data" text="Title" font-face="arial" font-size="11"/>
</node>
<image-texture id="thumb-tex" width="100" height="100"/>
</node>
<!--<text-input width="100" height="100" color=".3"/>-->
<node height="40" grow="1" dir="row" align="flex-end" justify="flex-end">
<button id="btn-ok" text="Open Project" width="100" height="30" margin="0 10 0 0"/>