Commit fcbd59dc authored by Thomas Zander's avatar Thomas Zander

Paint the label as superscript

svn path=/trunk/koffice/; revision=689046
parent 2cabd8e1
......@@ -110,6 +110,7 @@ void KoInlineNote::paint (QPainter &painter, QPaintDevice *pd, const QTextDocume
range.start=0;
range.length=d->label.length();
range.format = format;
range.format.setVerticalAlignment(QTextCharFormat::AlignSuperScript);
layouts.append(range);
layout.setAdditionalFormats(layouts);
......
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