Board index FlightGear Development Canvas

Unset colorFill?  Topic is solved

Canvas is FlightGear's new fully scriptable 2D drawing system that will allow you to easily create new instruments, HUDs and even GUI dialogs and custom GUI widgets, without having to write C++ code and without having to rebuild FlightGear.

Unset colorFill?

Postby Thorsten » Mon Aug 08, 2016 3:04 pm

Is there any graceful way to unset whatever I specify for setColorFill() runtime and go back to a box that shows whatever happens to be the BG?
Thorsten
 
Posts: 11310
Joined: Mon Nov 02, 2009 8:33 am

Re: Unset colorFill?  

Postby TheTom » Tue Aug 09, 2016 7:28 am

I think set("fill", "none") should work.
TheTom
 
Posts: 321
Joined: Sun Oct 09, 2011 10:20 am

Re: Unset colorFill?

Postby Thorsten » Tue Aug 09, 2016 8:10 am

Indeed it does, thanks!
Thorsten
 
Posts: 11310
Joined: Mon Nov 02, 2009 8:33 am


Return to Canvas

Who is online

Users browsing this forum: No registered users and 1 guest