StyledEdit::StatusView:No stretching for pos cell only
This commit is contained in:
parent
ad834f7320
commit
20cbdcd166
@ -243,7 +243,7 @@ StatusView::_ValidatePreferredSize()
|
||||
float width = ceilf(StringWidth(fCellText[i]));
|
||||
if (width > 0)
|
||||
width += kHorzSpacing * 2;
|
||||
if (width > fCellWidth[i])
|
||||
if (width > fCellWidth[i] || i != kPositionCell)
|
||||
fCellWidth[i] = width;
|
||||
fPreferredSize.width += fCellWidth[i];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user