Glade editing

More
27 Oct 2020 20:23 #187463 by Slippery
Glade editing was created by Slippery
I think this may fall under newbe guestion.
Trying to edit the gaxis.glade. Would like to have the text in the jog increment window a bit larger. I have had the file open in glade editor and not sure if the font size can be edited. Is there documentation some where I could read, or someone who knows if this can be done?

Please Log in or Create an account to join the conversation.

More
29 Oct 2020 02:06 #187648 by cmorley
Replied by cmorley on topic Glade editing
unfortunately it looks like not easily.
You can change the displayed text fairly easily (it requires python code though in the handler file), but changing the displayed popup list seems harder - in fact I didn't find an example.

adding:
self.widgets.jog_speed.child.modify_font(pango.FontDescription("sans 18"))
to the def initialize_widgets(self): function in the handler file and adding
import pango
to the top of the handler file will do the first part.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum