Initial size of scripted plasmoids

Petri Damstén petri.damsten at gmail.com
Wed Jun 10 17:11:53 CEST 2009


Hi,

C++ applets do resize on constructor which work ok. Scripted plasmoids cannot 
do that and examples do that in init:
	def init(self):
        	self.resize(200, 200)
But isn't this too late because plasma sets size before init and it resets the 
user set size? Is there a proper way to set initial size for scripted applets 
or should applet just accept the initial size plasma sets.

Petri


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090610/8dd9280f/attachment.sig 


More information about the Plasma-devel mailing list