Skip to content

Dont use QTextDocument in style delegates

Waqar Ahmed requested to merge work/commandbar-better-delegate into master

The reason behind this is the bad rendering that occurs on windows when you use QTextDocument. Fonts are vertically stretched and / or pixelated.

Some screenshots:

Windows Before

windowscmdbarbefore

Windows After

windowscmdbar

Linux with RTL

image

I can't get bold to work yet, so only color formatting is done.

Merge request reports