Index: lams_common/src/flash/org/lamsfoundation/lams/common/ui/Panel.as =================================================================== diff -u -rdfff2656f3c34381bc6bdd140ef17103f5dc15f8 -re9a192361139d6a0653cafa9802132c2f3ed9868 --- lams_common/src/flash/org/lamsfoundation/lams/common/ui/Panel.as (.../Panel.as) (revision dfff2656f3c34381bc6bdd140ef17103f5dc15f8) +++ lams_common/src/flash/org/lamsfoundation/lams/common/ui/Panel.as (.../Panel.as) (revision e9a192361139d6a0653cafa9802132c2f3ed9868) @@ -1,4 +1,5 @@ -import org.lamsfoundation.lams.common.ui.* +import org.lamsfoundation.lams.common.util.Debugger +import org.lamsfoundation.lams.common.ui.* import mx.core.UIComponent import mx.styles.StyleManager /** @@ -116,16 +117,20 @@ * */ public function setStyle(styleProp:String, newValue):Void{ - //trace('Panel.setStyle'); + Debugger.log('styleProp:'+styleProp+' newValue:'+newValue,5,'setStyle','Panel'); //only process if we want to set the bkg if(styleProp == "backgroundColor"){ //trace('Setting panel bkg to:'+newValue); + /* if(isNaN(newValue)){ //colour name _backgroundColour = StyleManager.getColorName(newValue); }else{ _backgroundColour = newValue; - } + } + */ + _backgroundColour = newValue; + }else if(styleProp == "borderStyle"){ //must be going for the border