Skip to content

madcad.show() how to change backgroundcolor? #53

Answered by jimy-byerley
GlennWSo asked this question in Q&A
Discussion options

You must be logged in to vote

Welcome here :)
The default color mode is the system color as seen from Qt, meaning its the system color when using the KDE desktop environment on linux (dark in my case) or any Qt based desktop, and white everywhere else.

You can customize the colors by either

  • disabling the system color theme and let madcad use its own colors
    cad.settings.display['systeme_theme'] = False
    Or changing the matching value in ~/.config/madcad/pymadcad.yaml
  • changing the color palette of Qt (this is in case you're making an application integrating madcad)

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@GlennWSo
Comment options

@GlennWSo
Comment options

@jimy-byerley
Comment options

@jimy-byerley
Comment options

@GlennWSo
Comment options

Answer selected by GlennWSo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants