iClip widget Leopard fix

I love the dashboard widget iClip lite from inventive.us - I find it indispensable!

Check it out: http://inventive.us/iCliplite/


It has a number of 'bins' that you can dump the contents of your clipboard into. I use it store all sorts - images, code snippets, telephone numbers. It is VERY handy. It looks totally lickable, too. The only problem is that in Leopard the contents of each bin render incorrectly, and it really spoils the look of the thing.

Well, I've just got so sick of waiting for them to drop any sort of update, I had a poke about and figured out a quick fix. Can't seem to find anything on google, so i thought I'd stick up here in case it helps anyone else.

Basically, open the package contents for the widget, and in the file .widget/js/scripts.js

Line 49 reads:
node.setAttribute("style", "position: absolute; left: 1.5em; top: 1.5em;
width: 7.2em; height: 7.2em;");

Change the width and height attributes to 30em and 15em respectively like
this:

node.setAttribute("style", "position: absolute; left: 1.5em; top: 1.5em;
width: 30em; height: 15em;");

and everything looks fine!


Comments (3)

Jan 17, 2009
Diego Rodriguez said...
I just found your quick fix. Thanks a million! This has been a thorn in my side since I've had Leopard!
Jan 27, 2009
el1073 said...
Thank you so much!!
Apr 25, 2009
Joshua said...
Thanks so much! It restores the beauty and functionality to something I really truly missed from Tiger.

Leave a comment...

 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    twitter