https://bugs.kde.org/show_bug.cgi?id=481778
Luis <stereom...@proton.me> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stereom...@proton.me --- Comment #22 from Luis <stereom...@proton.me> --- (In reply to Christoph Feck from comment #20) > 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()); Does work for me too. -- You are receiving this mail because: You are watching all bug changes.