From 0f04222acc13802d1b16dff49e17dc52c1cfae2a Mon Sep 17 00:00:00 2001 From: Ychebotarev ProductEngine Date: Wed, 3 Mar 2010 11:43:48 +0200 Subject: fix for normal EXT-1391 Group Info: Avatar name should end with ellipsis if it doesn't fit free space --HG-- branch : product-engine --- indra/llui/llscrolllistcell.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/llui/llscrolllistcell.h') diff --git a/indra/llui/llscrolllistcell.h b/indra/llui/llscrolllistcell.h index 5fecf5aade..b1c8901fc4 100644 --- a/indra/llui/llscrolllistcell.h +++ b/indra/llui/llscrolllistcell.h @@ -151,11 +151,16 @@ public: /*virtual*/ const std::string & getToolTip() const; /*virtual*/ BOOL needsToolTip() const; + S32 getTextWidth() const { return mTextWidth;} + void setTextWidth(S32 value) { mTextWidth = value;} + virtual void setWidth(S32 width) { LLScrollListCell::setWidth(width); mTextWidth = width; } + void setText(const LLStringExplicit& text); void setFontStyle(const U8 font_style); private: LLUIString mText; + S32 mTextWidth; const LLFontGL* mFont; LLColor4 mColor; U8 mUseColor; -- cgit v1.2.3