-
Notifications
You must be signed in to change notification settings - Fork 262
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
Change size of node_text. #392
Comments
Hi @enaud1984 If you're wanting to change the size of the node name on the Cheers, from NodeGraphQt import BaseNode
class MyNode(BaseNode):
def __init__(self):
super(MyNode, self).__init__()
# change font size of the view text item.
font = self.view.text_item.font()
font.setPointSize(8)
self.view.text_item.setFont(font) |
@jchanvfx related to this threat - is it possible to change the font size of backdrop node name as well? |
ah nvm please disregard. I found my answer :) |
All good adding this here for reference. Good to know that the text size is a thing will look into exposing some additional functions for adjusting text size to the node class objects. |
How change text size of NAME_NODE and internal text input?
thanks
The text was updated successfully, but these errors were encountered: