diff options
author | Paul Guslisty <pguslisty@productengine.com> | 2010-10-19 20:59:08 +0300 |
---|---|---|
committer | Paul Guslisty <pguslisty@productengine.com> | 2010-10-19 20:59:08 +0300 |
commit | ea7420a7b3e1f68b8eb78a6e8ebd13683f7716b9 (patch) | |
tree | 867f2cbb7550fad7f67d1a7d78ad65c839e00eb1 /indra/newview/llavatarlistitem.h | |
parent | c683151587067cb2758206432610d4ff4884036e (diff) |
STORM-293 FIXED Friend permissions icons overlap long names on 'My Friends' tab
- Added 'avatar name right padding' as parameter to avatar_list_item.
Before it was calculated and correctness of calculation was strongly dependent on right positioning elements in XML, which was prone to errors.
Diffstat (limited to 'indra/newview/llavatarlistitem.h')
-rw-r--r-- | indra/newview/llavatarlistitem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llavatarlistitem.h b/indra/newview/llavatarlistitem.h index a069838ac3..c95ac39696 100644 --- a/indra/newview/llavatarlistitem.h +++ b/indra/newview/llavatarlistitem.h @@ -51,6 +51,8 @@ public: online_style, offline_style; + Optional<S32> name_right_pad; + Params(); }; @@ -215,7 +217,7 @@ private: static bool sStaticInitialized; // this variable is introduced to improve code readability static S32 sLeftPadding; // padding to first left visible child (icon or name) - static S32 sRightNamePadding; // right padding from name to next visible child + static S32 sNameRightPadding; // right padding from name to next visible child /** * Contains widths of each child specified by EAvatarListItemChildIndex |