SL-19099 The long name of the item is out of bounds on the Editing Tools/Content tab
parent
d2a8a3bd53
commit
f5adfae1ad
|
|
@ -395,7 +395,7 @@ S32 LLFolderViewItem::arrange( S32* width, S32* height )
|
|||
// it is purely visual, so it is fine to do at our laisure
|
||||
refreshSuffix();
|
||||
}
|
||||
mLabelWidth = getLabelXPos() + getLabelFontForStyle(mLabelStyle)->getWidth(mLabel) + getLabelFontForStyle(mLabelStyle)->getWidth(mLabelSuffix) + mLabelPaddingRight;
|
||||
mLabelWidth = getLabelXPos() + getLabelFontForStyle(mLabelStyle)->getWidth(mLabel) + getLabelFontForStyle(mLabelStyle)->getWidth(mLabelSuffix) + mLabelPaddingRight;
|
||||
mLabelWidthDirty = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -127,6 +127,7 @@ public:
|
|||
virtual void clearCtrls(); // overridden in LLPanelObject and LLPanelVolume
|
||||
|
||||
// Border controls
|
||||
const LLViewBorder* getBorder() const { return mBorder; }
|
||||
void addBorder( LLViewBorder::Params p);
|
||||
void addBorder();
|
||||
void removeBorder();
|
||||
|
|
|
|||
|
|
@ -1368,7 +1368,8 @@ void LLPanelObjectInventory::reset()
|
|||
LLEditMenuHandler::gEditMenuHandler = mFolders;
|
||||
}
|
||||
|
||||
LLRect scroller_rect(0, getRect().getHeight(), getRect().getWidth(), 0);
|
||||
int offset = hasBorder() ? getBorder()->getBorderWidth() << 1 : 0;
|
||||
LLRect scroller_rect(0, getRect().getHeight() - offset, getRect().getWidth() - offset, 0);
|
||||
LLScrollContainer::Params scroll_p;
|
||||
scroll_p.name("task inventory scroller");
|
||||
scroll_p.rect(scroller_rect);
|
||||
|
|
|
|||
Loading…
Reference in New Issue