Commit 5dd834d0 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Left alignment for lines of documentation displayed in a ClassifierWidget is set

This improves the display.

parent abcdd7fe
......@@ -831,7 +831,7 @@ void ClassifierWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *
if (brect.width() > width() + 2*defaultMargin)
brect.adjust(textX, bodyOffsetY, textX, bodyOffsetY);
painter->drawText(brect, Qt::AlignCenter | Qt::TextWordWrap, documentation());
painter->drawText(brect, Qt::AlignLeft | Qt::TextWordWrap, documentation());
bodyOffsetY += brect.height();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment