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

@@ -3,5 +3,5 @@
<dialog defbtn='okay'>
<pict name='ter' type='ter' num='0' top='10' left='9'/>
<text name='sign' framed='true' top='9' left='47' width='273' height='77'>Fred</text>
<button name='okay' type='done' def-key='enter' top='93' left='260'/>
<button name='okay' type='done' top='93' left='260'/>
</dialog>