1
0
Fork 0

- remove all key shortcuts ("Enter" for the default widget remains, of course)

- let chat dialogs be opened in the bottom right corner
- make chat_full.xml smaller (it's now resizable, anyway)
This commit is contained in:
mfranz 2009-01-29 19:50:24 +00:00
parent 89ab7ab274
commit 22fa0c3456
2 changed files with 6 additions and 8 deletions

View file

@ -4,6 +4,8 @@
<name>chat</name> <name>chat</name>
<modal>false</modal> <modal>false</modal>
<resizable>true</resizable> <resizable>true</resizable>
<x>-5</x>
<y>5</y>
<layout>hbox</layout> <layout>hbox</layout>
<default-padding>5</default-padding> <default-padding>5</default-padding>
@ -44,7 +46,6 @@
<equal>true</equal> <equal>true</equal>
<pref-width>45</pref-width> <pref-width>45</pref-width>
<pref-height>30</pref-height> <pref-height>30</pref-height>
<key>+</key>
<binding> <binding>
<command>dialog-show</command> <command>dialog-show</command>
<dialog-name>chat-full</dialog-name> <dialog-name>chat-full</dialog-name>
@ -90,7 +91,6 @@
<pref-width>45</pref-width> <pref-width>45</pref-width>
<pref-height>30</pref-height> <pref-height>30</pref-height>
<equal>true</equal> <equal>true</equal>
<key>Enter</key>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
</binding> </binding>

View file

@ -5,6 +5,8 @@
<modal>false</modal> <modal>false</modal>
<layout>vbox</layout> <layout>vbox</layout>
<resizable>true</resizable> <resizable>true</resizable>
<x>-20</x>
<y>20</y>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
@ -14,7 +16,6 @@
<pref-width>16</pref-width> <pref-width>16</pref-width>
<pref-height>16</pref-height> <pref-height>16</pref-height>
<border>2</border> <border>2</border>
<key>-</key>
<binding> <binding>
<command>dialog-show</command> <command>dialog-show</command>
<dialog-name>chat</dialog-name> <dialog-name>chat</dialog-name>
@ -37,7 +38,6 @@
<pref-width>16</pref-width> <pref-width>16</pref-width>
<pref-height>16</pref-height> <pref-height>16</pref-height>
<border>2</border> <border>2</border>
<keynum>27</keynum>
<binding> <binding>
<command>dialog-close</command> <command>dialog-close</command>
</binding> </binding>
@ -50,8 +50,8 @@
<halign>fill</halign> <halign>fill</halign>
<valign>fill</valign> <valign>fill</valign>
<stretch>true</stretch> <stretch>true</stretch>
<pref-width>450</pref-width> <pref-width>350</pref-width>
<pref-height>120</pref-height> <pref-height>150</pref-height>
<padding>5</padding> <padding>5</padding>
<slider>20</slider> <slider>20</slider>
<live>true</live> <live>true</live>
@ -71,14 +71,12 @@
<halign>fill</halign> <halign>fill</halign>
<stretch>true</stretch> <stretch>true</stretch>
<length>50</length> <length>50</length>
<pref-width>500</pref-width>
<property>/sim/multiplay/chat-compose</property> <property>/sim/multiplay/chat-compose</property>
</input> </input>
<button> <button>
<legend>Send</legend> <legend>Send</legend>
<default>true</default> <default>true</default>
<key>Enter</key>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
</binding> </binding>