[Kst] [PATCH] make empty labels behave

George Staikos staikos at kde.org
Fri Feb 3 13:45:55 CET 2006

This patch makes empty labels behave.  Without it, they try to create an empty 
contentsRect object, which has multiple issues:
1) Tries to paint a null bitmap/pixmap
2) Object doesn't receive events
3) Scripting cannot create labels because they are assigned the text property 
after creation, so they never show up

You can see how it's broken by using the JS testcases.  None of the labels 
work without this patch.

George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: empty-labels.patch
Type: text/x-diff
Size: 3329 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20060203/66454ad7/attachment.bin 

More information about the Kst mailing list