Changing the background color of popUpCtrl
by Keith Johnston · in Torque Game Engine · 03/21/2004 (3:36 pm) · 4 replies
The default for this control's background for the list of items is grey - how can it be changed?
Thanks
Thanks
#2
03/21/2004 (5:41 pm)
I think the color of the background comes from *somewhere* in the "darkScroll" bitmap - but I can't figure out where.
#3
03/21/2004 (8:55 pm)
Sure it's not fillColor or fillColorHL?
#4
03/22/2004 (1:11 am)
Ack - fillColor did work. But I had to change it in "GuiPopUpMenuProfile". I might have an older version.
Torque Owner John Vanderbeck
VanderGames
This file defines the basic behaviour of the GUI controls.
if(!isObject(GuiControlListPopupProfile)) new GuiControlProfile (GuiControlListPopupProfile) { opaque = true; fillColor = "255 255 255"; fillColorHL = "128 128 128"; border = true; borderColor = "0 0 0"; fontColor = "0 0 0"; fontColorHL = "255 255 255"; fontColorNA = "128 128 128"; textOffset = "0 2"; autoSizeWidth = false; autoSizeHeight = true; tab = true; canKeyFocus = true; bitmap = ($platform $= "macos") ? "./osxScroll" : "./darkScroll"; hasBitmapArray = true; };