setBorderColor()

Post Reply
Yetzederixx
Posts: 186
Joined: Sun Nov 14, 2010 5:57 am

setBorderColor()

Post by Yetzederixx »

I have a tiny, 50, mini-console that I post my prompt into so I don't have to see it all over the place. Problem is, I would really like a visable border. I tried
Code: [show] | [select all] lua
moveCursorEnd("promptWindow")
setBackgroundColor(255,255,255)
moveCursorEnd()
to no avail, fact I didn't get a border anywhere. I don't want to set the background color, as even a minimal color throws me off, any ideas?

Iocun
Posts: 174
Joined: Wed Dec 02, 2009 1:45 am

Re: setBorderColor()

Post by Iocun »

You could just place a slightly larger console/label below your prompt console, that has a different colour, to create your border.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: setBorderColor()

Post by Heiko »

Labels are intended to be layered. You can make borders via css code, however.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: setBorderColor()

Post by Vadi »

You can't make borders via css for a miniConsole though, like this person is wishing. That's why creating a label first and then the miniconsole on top of it will work.

Post Reply