Fixed last column on LLScrollListCtrl expanding on control resize when column width should be fixed or dynamic
parent
d34a2f3737
commit
1d53faa95a
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue