Help with cmdline plugin
Started by HorusUK


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


4 posts in this topic
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
01-07-2004, 06:14 PM -
#1
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.
Back once again...
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
01-07-2004, 08:16 PM -
#2
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.
The TORDEX Team
http://www.tordex.com
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
01-07-2004, 08:58 PM -
#3
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
Back once again...
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
01-08-2004, 04:26 PM -
#4
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?
The TORDEX Team
http://www.tordex.com
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
01-08-2004, 04:59 PM -
#5
Perfect! Thank you SO much, Sir.

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


Forum Jump:


Users browsing this thread: 1 Guest(s)