GuiControl profile.fillcolor
So I was wondering how I would get a background in a GuiControl to fill a certain color. Right now what I am trying does not seem to work.
PHP Code:
|
I've not tested this, and I have no idea if this'll make a difference, but try moving the profile stuff under your positioning and sizing ****, and set the fill colour like this:
PHP Code:
PHP Code:
|
PHP Code:
|
Quote:
|
throw profile.opaque = true in there and that should make it work
|
Thanks, it indeed works.
|
Quote:
|
Just wondering, I was messing with this the other day, is there a way to do rounded corners without using a bitmap profile.
|
The only way I can think of doing it is using a DrawingPanel as a container. I wouldn't do that personally though since the aren't efficient to redraw over and over.
|
All times are GMT +2. The time now is 07:00 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.