[Kdelibs-bugs] [PATCH] Fixing KMessageBox cutoff texts

Andreas Pakulat apaku at gmx.de
Thu Nov 1 00:46:04 CET 2007


Hi,

just had a look why all KMessageBoxes cut off their text and the problem 
seems to be the width/height calculation code in 
KMessageBox::createKMessageBox and the fact that the result is set as 
Fixed Size for the label.

I don't quite understand why the contents width/height is calculated in 
the first place, so I just disabled the whole stuff  and set a real 
margin on the label instead of changing its size. Looks more apropriate 
to me.

So what am I missing here? Or can I just commit the attached patch to 
fix this?

Andreas

-- 
You'll feel devilish tonight.  Toss dynamite caps under a flamenco 
dancer's
heel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs_kdeui_kmsgbox_fix_label
Type: text/x-diff
Size: 4167 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kdelibs-bugs/attachments/20071101/f3700628/attachment.bin 


More information about the Kdelibs-bugs mailing list