Game Development Community

Can't get rid of that black outline...

by Nicolai Dutka · in Torque Game Builder · 03/29/2008 (3:17 pm) · 4 replies

Normally, when I place a GuiBitmapCtrl into my Gui and don't tell it which image to use, it shows up as an empty(transparent) box with a thin black outline.

I have 4 png images in my Gui that are giving me the same black outline, but also showing the image! How do I get rid of the outline?

The objects in the level (not Gui) have the same kind of png images with transparencies and they are showing up normally. I also have other Gui objects with transparencies that are all showing up just fine as well. It's just these 4 images giving me troubles....

#1
03/30/2008 (5:44 am)
King,
The outline is controlled in Gui's profile. Set the border = 0 to get rid of it.
#3
04/08/2008 (7:46 pm)
~/common/gui/profiles.cs

// border color
   border = 0;
   borderColor   = "40 40 40 100";
   borderColorHL = "128 128 128";
   borderColorNA = "64 64 64";

Around line 29ish