Window Background color???

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  11 November 2006
Question Window Background color???

I'm creating a window in MEL using the "window" command, but when I put the -bgc 0 0 0 or any other color value the window background color stays the same, this flag has no effect!! I'm hoping that someone ewould explain why, or maybe I misunderstood the meaning of "background", but I really want my window to have a different look, not like default windows,,any thoughts???
 
  11 November 2006
Actually it works, its just that I had some layouts on the window so I had to give the same background color tothem as well, but the problem now is that the background of the text area (label) still has the same old default color, it does not follow the color of the window,,??
 
  11 November 2006
hi,

i guess you have to specify the -bgc flag for the text control too !


window w1;
columnLayout -bgc 0 0 1 ;
text -bgc 0 1 0 -l "color";
showWindow w1;


-rgds,
__________________
|| Loka samastaa sukhino bhavantu ||
ash
 
  11 November 2006
yes it works with "text" command, but the problem comes when I put a label for a layout, for example:


window w1;
frameLayout -l "frame Title" -bgc 1 0 0; //here the background of the words "frame Title" still have the old window background color..this is my problem!!
showWindow;
 
  11 November 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:29 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.