diff options
author | Andrew Productengine <adyukov@productengine.com> | 2010-09-22 18:20:01 +0300 |
---|---|---|
committer | Andrew Productengine <adyukov@productengine.com> | 2010-09-22 18:20:01 +0300 |
commit | 2a1d4b375efdc32145908e0112fd9b8dc308b5bf (patch) | |
tree | b35b7ee9db423e114f92d1814ba6bf13ecb3c64c /indra/newview/skins/default/xui/da | |
parent | f007369357463aed8311b4e609fd31a8aa26f59c (diff) |
STORM-187 FIXED Fixed chatbar not getting back its width after opening/closing sidetray.
The bug reproduced not only for opening/closing sidetray, but also when viewer window was resized.
The chatbar's width was set to default on width increase, it was also shrunk even when there was enough space for it, and buttons could be shrunk instead.
Also, width to which user resized it manually, was not used in resizes. Gave priority on resizes to nearby chat - i.e.:
Before this fix priorities were- buttons are visible -> buttons are as wide as possible -> nearby is stretched.
After this fix priorities are- buttons are visible -> nearby is stretched -> buttons are as wide as possible.
- Added new member which stores width of nearbychat(either value that was recorded after user's manual resize of chatbar or default). Used it as a value to which chatbar tries to be resized on resizes.
- Implemented the change of priorities described above in processWidthIncreased() and processWidthDecreased() methods.
Diffstat (limited to 'indra/newview/skins/default/xui/da')
0 files changed, 0 insertions, 0 deletions