Remove all def-key='enter' in favour of defbtn attribute

In addition, the default button is finally properly outlined when specified with the defbtn attribute.
(It would also be outlined if specified with def-key='enter'.)
The following preset buttons (available to special nodes) now respond to the enter key:
- "Leave", "Done", "OK"
This commit is contained in:
2015-10-03 03:35:41 -04:00
parent da58f09fca
commit 8b5396c980
14 changed files with 25 additions and 37 deletions

View File

@@ -100,7 +100,7 @@
<field name='map' top='62' left='495' width='80' height='16'/>
<button name='pickmap' type='regular' top='86' left='495'>Choose</button>
<text top='110' left='431' height='32' width='157'>(Enter -1 to scale down the large picture)</text>
<button name='done' type='regular' def-key='enter' top='455' left='517'>OK</button>
<button name='done' type='regular' top='455' left='517'>OK</button>
<button name='cancel' type='regular' def-key='esc' top='455' left='451'>Cancel</button>
<button name='left' type='left' top='455' left='11'/>
<button name='right' type='right' top='455' left='74'/>