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 4: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: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Unset colorFill?  

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

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

Re: Unset colorFill?

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

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


Return to Canvas

Who is online

Users browsing this forum: No registered users and 4 guests