PlayScreen Guis have borders around them
by Andrew Son · in Technical Issues · 05/10/2011 (12:15 am) · 6 replies
Hey everybody! Working with TGB here and all the guis I put on the playscreen have a thin black line border around them. How do I remove this?
#2
05/11/2011 (4:15 pm)
so it's not just me at least. The borders show up for me when I run it from the editor and when I build it and run the exe. Tried looking in the Gui's blocks for some "border" variable but I don't see anything. I'm using GuiBitmapCtrl with PNG images. Is there a better Gui to use or maybe a different type of image file I should be using? I don't understand.
#3
05/11/2011 (5:02 pm)
I've not used TGB, but in the 3D engines a GuiControl will sometimes default to a Profile that I find undesirable for that control. If the gui system is similar take a look at your GuiBitmapCtrl's Profile (see the profile property) which will be a separate datablock for extra properties such as border, bevel, font, etc not included in the control itself but 'hidden' in the profile.
#4
05/12/2011 (3:05 pm)
Thanks Michael! That did the trick! Found it in profile.cs in the common folder for anybody else who has this issue. There is a border variable in the default profile.
#5
Will implement this change.
BTW Andrew, do you have all your GUI profiles listed in the GUI Builder?.
I have found that all installs since TGB 1.6.0 only have 5 default profiles, before you have like 20 or 30 of them.
05/15/2011 (9:45 am)
Ah, thanks.Will implement this change.
BTW Andrew, do you have all your GUI profiles listed in the GUI Builder?.
I have found that all installs since TGB 1.6.0 only have 5 default profiles, before you have like 20 or 30 of them.
#6
05/15/2011 (1:03 pm)
That's terrible. Actually, I'm still running v1.5.0. That's really strange that 5 would be there and the rest are not.
Torque Owner Peterjohn Griffiths
Default Studio Name