https://bugs.kde.org/show_bug.cgi?id=481778
--- Comment #20 from Christoph Feck <[email protected]> --- What worked for me is forcing Top alignment. I didn't really understand the logic behind paintHeight(), so the patch might be all wrong. diff --git a/src/komparepart/komparelistview.cpp b/src/komparepart/komparelistview.cpp index 61cd7bb..3deb472 100644 --- a/src/komparepart/komparelistview.cpp +++ b/src/komparepart/komparelistview.cpp @@ -745,7 +745,7 @@ void KompareListViewLineItem::init(int line, DifferenceString* text) void KompareListViewLineItem::paintCell(QPainter* p, const QStyleOptionViewItem& option, int column) { int width = option.rect.width(); - Qt::Alignment align = option.displayAlignment; + Qt::Alignment align = option.displayAlignment & ~Qt::AlignVCenter | Qt::AlignTop; p->setRenderHint(QPainter::Antialiasing); p->translate(option.rect.topLeft()); -- You are receiving this mail because: You are watching all bug changes.
