Tordex Community
Help with cmdline plugin - Printable Version

+- Tordex Community (http://forum.tordex.com)
+-- Forum: True Launch Bar plugins (http://forum.tordex.com/forum-4.html)
+--- Forum: Plugin features and improvements (http://forum.tordex.com/forum-15.html)
+--- Thread: Help with cmdline plugin (/thread-1105.html)



- HorusUK - 01-07-2004

I'm attempting to skin the cmdline plugin, but not getting very far. Any assistance would be MOST welcome!

The main thing I'm having trouble with, is the sizingmargins and editmargins parameters. Basically, I want to create a 50 pixel high command line, the first 25 pixels for the command line, and the bottom part has a small amount of text in it.


- Yuri Kobets - 01-07-2004

The margins format is:
left right top bottom

sizingMargins used to stretch background. So you must set bottom margin into 25 and left or right margin (depending of alignment of text) into size of text to cover text by unstretched area (bottom-left or bottom-right corner).

editMargins used to place edit box into plugin. Post here png file and I'll help you to make right skin.


- HorusUK - 01-07-2004

OK, here goes!

[Image: cmdline.png]

BTW, this also suffers from the 1 pixel bug I encountered with the clock plugin...

/Edit
I've had a play around, and it would appear that the command line plugin only likes 31 pixel high graphics... Oh well, a new feature, perhaps? Big Grin


- Yuri Kobets - 01-08-2004

Something like this:
Code:
[cmdline]
background=cmdline.png
sizingMargins = 175 1 1 23
editMargins = 1 1 1 26
textColor = 255 255 255

Quote:BTW, this also suffers from the 1 pixel bug I encountered with the clock plugin...
Yes

Quote:'ve had a play around, and it would appear that the command line plugin only likes 31 pixel high graphics... Oh well, a new feature, perhaps?
Why? All sizes are valid. Is there are any problems?


- HorusUK - 01-08-2004

Perfect! Thank you SO much, Sir.

With the help of your example, it's working perfectly. And I now understand the cmdline parameters, too!