Background color?

Issue #39 resolved
Jeff Sherman created an issue

Maybe I just couldn't find it, but is there a way to set background color, or better yet, set background color to transparent when exporting a PNG?

Comments (3)

  1. Siddharth Shekar repo owner

    There isn't a way to set the background colour through the GUI now. If you're willing to change the code yourself, you can change line 824 in src/drawingarea.py to reflect whatever colour you'd like the background to be. Alternatively, you could create a rectangle the size of the area you would like to export and set its pen and fill colour to be the colour you'd like the background to be (with the rectangle's height set to a value lower than all the other items in the schematic).

  2. Jeff Sherman reporter

    Yeah, I eventually added that shape, but it plays funky when I import pictures into other things when I want a transparent background.

    Enhancement request: export PNGs should have the transparent background option ;-)

  3. Log in to comment