Hi aamer4yu,

Thank you for your suggesion.

BTW: I did some experiments (with code inside the constructors) and found that if we call the minimumSizeHint() before taking QFontMetrics info then it given correct values !!! Thi is strange !!!
Any idea why is this required ???

Thank you.