-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fontFamily options #368
base: master
Are you sure you want to change the base?
Conversation
QColor NormalBoundaryColor; | ||
QColor SelectedBoundaryColor; | ||
QColor GradientColor0; | ||
QColor GradientColor1; | ||
QColor GradientColor2; | ||
QColor GradientColor3; | ||
QColor ShadowColor; | ||
QColor FontColor; | ||
QColor FontColorFaded; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert changes like these. There is no need to change these lines of code.
As a word of advice - it is usually desirable to only change code that needs to be changed to address the PR. This avoids causing confusion/overload when others review the change.
Additionally, stylistic coding is really up to repo owner as of now. And it seems like a single space between type and variable name is the overall style (and it typically is).
QColor ConnectionPointColor; | ||
QColor FilledConnectionPointColor; | ||
|
||
QColor WarningColor; | ||
QColor ErrorColor; | ||
|
||
float PenWidth; | ||
float HoveredPenWidth; | ||
|
||
float ConnectionPointDiameter; | ||
|
||
float Opacity; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert adding these additional spaces.
@@ -14,6 +14,7 @@ | |||
"ShadowColor": [20, 20, 20], | |||
"FontColor" : "white", | |||
"FontColorFaded" : "gray", | |||
"FontFamily": "Microsoft YaHei", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default font should be the default font of Qt: "Segoe UI"
(This font ships with Qt, so we know it's safe to use)
Hi
I'm learning nodeeditor and looking to do something with it, this commit adds a font selection field