Increasing the bounding rect does solve my problem.
BUt then this is the incorrect way to fix this issue. I am just finding out why this is been incorrect in RTOL locale.
If you can see the implementation of boundingRect() of this item, it has been implemented properly as far as my knowledge is concerned.
see this :
QRectF QFractionTextItem
:: boundingRect()const {
return QRectF( 0,
0 ,m_nWidth, m_nHeight
*2 );
}
QRectF QFractionTextItem :: boundingRect()const
{
return QRectF( 0, 0 ,m_nWidth, m_nHeight*2 );
}
To copy to clipboard, switch view to plain text mode
where m_nWidth is the addition of QFontMetrics::width("1000") and qMax( QFontMetrics::width("1") , QFontMetrics::width("2") )
SO i am just wondering what is going wrong behind the screen.
Bookmarks