Guest rizzles Posted January 25, 2006 Report Posted January 25, 2006 Hi im trying to use the "new text" plugin from the orange plugin but am having problems positioning it on my homescreen: here is the code: <!-- new sms --> New SMS I basicly want to be able to use the x and y coordinates like i have in this code for the sms counter: <!-- SMS/MMS/Email Plugin --> <label y="17" x="126" halign="left" bgcolor="transparent" fgcolor="#ffffff" font-size="18"> SMS: MMS: Is there anyway of changing the "new text" code so that i can use it in the same way as the other one to position correctly?? cheers Ryan
Guest Jamma14 Posted January 25, 2006 Report Posted January 25, 2006 No, fraid not. For all shortcuts using the orange plugin you have to use padding and height to position things. (Which is rubbish). I used to try the old icon="-2" trick, but trust me it's not worth it. What I tend to do is rather than using the labels in the plugin, just create icons for the whole of the area that the height covers and put it in an icon resource. That way you can make a fancy New SMS label anyway you like as a picture. Also you can change it when the plugin is selected (chicon="" attribute). Have a look at the code in my XP screen and the icons in the exe to get a feel for how it all works, and what kinda things you can do. Also have a look at Dr Blow's Cobalt homescreen - it includes a brief tutorial of the plugin on there. And..download reshacker to have a look at the icons in the exe. If you don't know what it is, it's a piece of windows freeware and you can use it to view bitmaps, icons etc embedded in exe files. Hope that helps, let me know if you need anything else. James
Guest rizzles Posted January 26, 2006 Report Posted January 26, 2006 No, fraid not. For all shortcuts using the orange plugin you have to use padding and height to position things. (Which is rubbish). I used to try the old icon="-2" trick, but trust me it's not worth it. What I tend to do is rather than using the labels in the plugin, just create icons for the whole of the area that the height covers and put it in an icon resource. That way you can make a fancy New SMS label anyway you like as a picture. Also you can change it when the plugin is selected (chicon="" attribute). Have a look at the code in my XP screen and the icons in the exe to get a feel for how it all works, and what kinda things you can do. Also have a look at Dr Blow's Cobalt homescreen - it includes a brief tutorial of the plugin on there. And..download reshacker to have a look at the icons in the exe. If you don't know what it is, it's a piece of windows freeware and you can use it to view bitmaps, icons etc embedded in exe files. Hope that helps, let me know if you need anything else. James <{POST_SNAPBACK}> Thanks for your reply but that all sounds a bit advanced for me :shock: only just started making homescreens! How does the padding and height work??
Guest w411y Posted January 26, 2006 Report Posted January 26, 2006 Ill explain through example If padding-right="25" and padding-top="50" then the label or icon will be displayed 25 pixels from the right of the screen and 50 from the top. Kinda like x and y
Guest rizzles Posted January 26, 2006 Report Posted January 26, 2006 Ill explain through example If padding-right="25" and padding-top="50" then the label or icon will be displayed 25 pixels from the right of the screen and 50 from the top. Kinda like x and y <{POST_SNAPBACK}> Oh right simple enough then!! There isnt any padding on my xml though... How do i add it to the xml i have above??
Guest w411y Posted January 26, 2006 Report Posted January 26, 2006 umm try using x and y first to see if that does happen to work... <!-- new sms --> New SMS If no luck then where the bold x and y are just put padding-right="?" padding-left="?" padding-top="?" padding-bottom="?"
Guest rizzles Posted January 26, 2006 Report Posted January 26, 2006 umm try using x and y first to see if that does happen to work... <!-- new sms --> New SMS If no luck then where the bold x and y are just put padding-right="?" padding-left="?" padding-top="?" padding-bottom="?" <{POST_SNAPBACK}> Cheers ill give it a go My homescreen is available for d/l now... ill be updating it as soon as i manage to work out how to skin the extra screens and make .cabs http://www.modaco.com/Bubble-t235595.html
Guest rizzles Posted January 26, 2006 Report Posted January 26, 2006 It doesnt seem to work... bubble.home.xml Would apperciate it if you could have a look for me... also under the new sms plugin there seems to be a line put there for some reason?? cheers Ryan
Guest Jamma14 Posted January 26, 2006 Report Posted January 26, 2006 There's your problem. You need to put the padding within the tags. eg. New SMS I'm not sure if the label tag can work with padding values though, if it doesn't work correctly, put your padding values in the tags. Hope that helps. James
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now