From 20cbdcd16648f6b2a0add3374f00380249789d45 Mon Sep 17 00:00:00 2001 From: Siarzhuk Zharski Date: Wed, 16 Jan 2013 17:38:45 +0100 Subject: [PATCH] StyledEdit::StatusView:No stretching for pos cell only --- src/apps/stylededit/StatusView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/stylededit/StatusView.cpp b/src/apps/stylededit/StatusView.cpp index 30bf0f9045..a6bdfccf76 100644 --- a/src/apps/stylededit/StatusView.cpp +++ b/src/apps/stylededit/StatusView.cpp @@ -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]; }