* 'master' of https://bitbucket.org/omigamedev/new_engine:
  add text input popup
This commit is contained in:
2019-09-12 15:18:22 +02:00
12 changed files with 186 additions and 12 deletions

View File

@@ -873,7 +873,28 @@
</border>
</node>
</layout>
<!-- INPUT BOX -->
<layout id="input-box">
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">
<border thickness="1" border-color=".2" pad="3">
<border width="400" height="30" color=".2 .2 .2 .9" dir="row" align="center" justify="center">
<text id="title" text="Just a test message"></text>
</border>
<border width="400" color="0 0 0 .9" pad="10" dir="col">
<node dir="row" height="30" align="center" grow="1">
<text id="field-name" text="Field" margin="0 5 0 0"/>
<text-input id="field-text" align="center" pad="5" grow="1" height="30" color=".3"/>
</node>
<node height="40" grow="1" dir="row" align="flex-end" justify="flex-end">
<button id="btn-ok" text="Ok" width="50" height="30" margin="0 10 0 0"/>
<button id="btn-cancel" text="Cancel" width="60" height="30"/>
</node>
</border>
</border>
</border>
</layout>
<!-- MESSAGE BOX -->
<layout id="message-box">
<border positioning="absolute" position="0 0" color=".4 .4 .4 .8" width="100%" height="100%" align="center" justify="center">