summaryrefslogtreecommitdiff
path: root/indra/newview/llvocache.cpp
diff options
context:
space:
mode:
authorAndrew Productengine <adyukov@productengine.com>2010-09-22 18:20:01 +0300
committerAndrew Productengine <adyukov@productengine.com>2010-09-22 18:20:01 +0300
commit2a1d4b375efdc32145908e0112fd9b8dc308b5bf (patch)
treeb35b7ee9db423e114f92d1814ba6bf13ecb3c64c /indra/newview/llvocache.cpp
parentf007369357463aed8311b4e609fd31a8aa26f59c (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/llvocache.cpp')
0 files changed, 0 insertions, 0 deletions