Fixed last column on LLScrollListCtrl expanding on control resize when column width should be fixed or dynamic

meow-7.2.2
Kadah_Coba 2011-07-04 02:07:26 -07:00
parent d34a2f3737
commit 1d53faa95a
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ void LLScrollListCtrl::updateColumns()
}
// expand last column header we encountered to full list width
if (last_header)
if (last_header && last_header->canResize())
{
S32 new_width = llmax(0, mItemListRect.mRight - last_header->getRect().mLeft);
last_header->reshape(new_width, last_header->getRect().getHeight());