Tordex Community

Full Version: Help with cmdline plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
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
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?
Perfect! Thank you SO much, Sir.

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