Just like the topic title -- How can I remove the green border around the multi-functional display box without removing the text? I changed the background to alpha, but it seems I can't remove the 2px border without removing the 2px text.
I'm working in HeadUpDisplay.m.
Thanks
[Solved] - Remove 2px border around MFD box
Moderators: winston, another_commander
[Solved] - Remove 2px border around MFD box
Last edited by Altaira on Sat Feb 13, 2016 8:25 pm, edited 1 time in total.
-
- Quite Grand Sub-Admiral
- Posts: 6681
- Joined: Wed Feb 28, 2007 7:54 am
Re: Remove 2px border around MFD box
Line 3262 (current trunk), drawMultiFunctionDisplay method:
Remove it and you should be set.
[self drawSurroundInternal:info color:mfd_color];
Remove it and you should be set.
Re: Remove 2px border around MFD box
Perfect. Exactly what I needed.
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: [Solved] - Remove 2px border around MFD box
Maybe possible to add a "bordercolor" property usable in hud.plist? In this way the alpha could hide it.another_commander wrote:color:mfd_color
Re: [Solved] - Remove 2px border around MFD box
'bordercolor' and 'backgroundcolor' properties -- I agree.Norby wrote:Maybe possible to add a "bordercolor" property usable in hud.plist? In this way the alpha could hide it.