I am using QTreeView::drawRow() to draw a custom badge on each row of a tree aligned to the right. Unfortunately the display text and badge can now overlap. Is there a simple way to fix the text eliding?