Page 1 of 1
[Solved] - Remove 2px border around MFD box
Posted: Sat Feb 13, 2016 8:08 pm
by Altaira
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
Re: Remove 2px border around MFD box
Posted: Sat Feb 13, 2016 8:21 pm
by another_commander
Line 3262 (current trunk), drawMultiFunctionDisplay method: [self drawSurroundInternal:info color:mfd_color];
Remove it and you should be set.
Re: Remove 2px border around MFD box
Posted: Sat Feb 13, 2016 8:24 pm
by Altaira
Perfect. Exactly what I needed.
Re: [Solved] - Remove 2px border around MFD box
Posted: Sat Feb 13, 2016 10:07 pm
by Norby
Maybe possible to add a "bordercolor" property usable in hud.plist? In this way the alpha could hide it.
Re: [Solved] - Remove 2px border around MFD box
Posted: Sun Feb 14, 2016 1:58 am
by Altaira
Norby wrote:Maybe possible to add a "bordercolor" property usable in hud.plist? In this way the alpha could hide it.
'bordercolor' and 'backgroundcolor' properties -- I agree.