Re: Text does not drawn properly in RTOL locale on Mac OS X
Quote:
Originally Posted by
sanjayshelke
Which message box your talking about in designer app?
Any :)
Quote:
I can see none of the text displayed on designer app is screwed up.
So font metrics should be calculated properly. Otherwise sizeHint()s of labels would be incorrect and labels and layouts would be squeezed. I'm still convinced the problem is not there in QFontMetrics.
Re: Text does not drawn properly in RTOL locale on Mac OS X
This may not be correct way to see the designer app for verifying the said problem.
It is better to try out this with customizing the QGraphicsItem to draw the "1000" number.
If it is not too much headache for you can you please try it.
Re: Text does not drawn properly in RTOL locale on Mac OS X
Quote:
Originally Posted by
sanjayshelke
This may not be correct way to see the designer app for verifying the said problem.
Why not?
Quote:
It is better to try out this with customizing the QGraphicsItem to draw the "1000" number.
If it is not too much headache for you can you please try it.
I don't have a Mac, so this won't do you any good.
2 Attachment(s)
Re: Text does not drawn properly in RTOL locale on Mac OS X
May be designer app does load qt_ar.qm or qt_he.qm
I have written sample app which has customized the qgraphicsItem to draw "1000 1/2".
I have also written one more application which has customized QWidget to draw "1000 1/2".
And both has same problem on Mac OS X in RTOL locale.
If there is any problem in my code then this should not work on windows in any locale.
Please have a look on the sample applications i have attached here.
Re: Text does not drawn properly in RTOL locale on Mac OS X
Quote:
Originally Posted by
sanjayshelke
If there is any problem in my code then this should not work on windows in any locale.
That's not true. Some behaviour might be different on both systems and this difference might cause your problem not to reveal itself. If you are convinced this is a bug then simply report it to the Trolls - your QFontMetrics example should do the trick.
Re: Text does not drawn properly in RTOL locale on Mac OS X
ok. Really thanks for you time wysota.
I will report the bug to Trolltech then.