diff --git a/src/kits/interface/ControlLook.cpp b/src/kits/interface/ControlLook.cpp index fc5b68c872..56978447ed 100644 --- a/src/kits/interface/ControlLook.cpp +++ b/src/kits/interface/ControlLook.cpp @@ -1922,7 +1922,7 @@ BControlLook::DrawLabel(BView* view, const char* label, const BBitmap* icon, BSize(width - 1, height - 1), alignment); if (icon != NULL) { - BPoint location = alignedRect.LeftTop(); + BPoint location(alignedRect.LeftTop()); if (icon->Bounds().Height() + 1 < height) location.y += ceilf((height - icon->Bounds().Height() - 1) / 2); @@ -1936,6 +1936,7 @@ BControlLook::DrawLabel(BView* view, const char* label, const BBitmap* icon, alignedRect.top + ceilf(fontHeight.ascent)); if (textHeight < height) location.y += ceilf((height - textHeight) / 2); + DrawLabel(view, truncatedLabel.String(), base, flags, location); }