Re: [Interest] Drawing push button

2015-09-24 Thread Igor Mironchik
Hi, After some research I found that font draws correct on my button if I don't set any graphics effects on it... But if I set: QGraphicsDropShadowEffect *eff = new QGraphicsDropShadowEffect(); eff->setBlurRadius(20); eff->setColor(QColor(100, 100, 100, 200)); eff->setOffset(0,0); setGraphicsE

[Interest] Drawing push button

2015-09-24 Thread Igor Mironchik
Hi, in my app on iOS fonts looks correct enstead of on QMenuBar and on my custom button. I wrote about problem with QMenuBar before (look at my previous letter). But now I want to ask about QStylePainter. My custom button class uses following drawing code: QStylePainter p(this); QStyleOptionB