diff options
| author | Mike Antipov <mantipov@productengine.com> | 2010-05-19 15:23:51 +0300 | 
|---|---|---|
| committer | Mike Antipov <mantipov@productengine.com> | 2010-05-19 15:23:51 +0300 | 
| commit | 5d4b48bbb4c20ad4fcbba31d92ebcf23ef5496a6 (patch) | |
| tree | 316d1db05701c49cd5707391c6f9c660ec313456 /indra/newview/app_settings | |
| parent | 7f4680c8c22804e6506375e4cedd1daf7d721670 (diff) | |
EXT-7104 WIP Implemented a functionality to control the width of the chat entry field.
* LLResizeBar calls notifyParent on resizing before changing rect of view, bottomtray processed this notification to update other buttons.
* Had to move setup of buttons visibility on startup into LLBottomTray to ensure all buttons have necessary visibility BEFORE restore the width of the chat entry field;
* Updated layout between chatbar and speak button to show resize mouse pointer in the middle between them.
Implemented behavior: visible buttons shrink to their minimal width when the chat entry field gets wider.
Also were refactored:
* moved declaration of settings related to buttons visibility from the settings.xml to LLBottomTray.
* moved setting of control listeners to LLBottomTray.
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/403/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/app_settings')
| -rw-r--r-- | indra/newview/app_settings/settings.xml | 44 | 
1 files changed, 0 insertions, 44 deletions
| diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index f71662a7c8..cae4a14eed 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -8140,17 +8140,6 @@        <key>Value</key>        <integer>0</integer>      </map>     -    <key>ShowCameraButton</key>                 -    <map> -      <key>Comment</key> -      <string>Show/Hide Camera button in the bottom tray</string> -      <key>Persist</key> -      <integer>1</integer> -      <key>Type</key> -      <string>Boolean</string> -      <key>Value</key> -      <integer>1</integer>    -    </map>  	<key>ShowScriptErrors</key>      <map>        <key>Comment</key> @@ -8173,39 +8162,6 @@        <key>Value</key>        <integer>0</integer>      </map> -    <key>ShowSnapshotButton</key>                 -    <map> -      <key>Comment</key> -      <string>Show/Hide Snapshot button button in the bottom tray</string> -      <key>Persist</key> -      <integer>1</integer> -      <key>Type</key> -      <string>Boolean</string> -      <key>Value</key> -      <integer>1</integer>    -    </map> -    <key>ShowMoveButton</key>                 -    <map> -      <key>Comment</key> -      <string>Show/Hide Move button in the bottom tray</string> -      <key>Persist</key> -      <integer>1</integer> -      <key>Type</key> -      <string>Boolean</string> -      <key>Value</key> -      <integer>1</integer>    -    </map>     -    <key>ShowGestureButton</key>                 -    <map> -      <key>Comment</key> -      <string>Show/Hide Gesture button in the bottom tray</string> -      <key>Persist</key> -      <integer>1</integer> -      <key>Type</key> -      <string>Boolean</string> -      <key>Value</key> -      <integer>1</integer>    -    </map>      <key>ShowObjectRenderingCost</key>                      <map>        <key>Comment</key> | 
