Notification: Avoid truncation when not wanted.
This commit is contained in:
@@ -280,7 +280,7 @@ NotificationView::Draw(BRect updateRect)
|
|||||||
// Truncate the string. We have already line-wrapped the text but if
|
// Truncate the string. We have already line-wrapped the text but if
|
||||||
// there is a very long 'word' we can only truncate it.
|
// there is a very long 'word' we can only truncate it.
|
||||||
TruncateString(&(l->text), B_TRUNCATE_END,
|
TruncateString(&(l->text), B_TRUNCATE_END,
|
||||||
Bounds().Width() - l->location.x - 8);
|
Bounds().Width() - l->location.x);
|
||||||
DrawString(l->text.String(), l->text.Length(), l->location);
|
DrawString(l->text.String(), l->text.Length(), l->location);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user