I was trying to change the font of some listbox items, and (after tinkering and trying stuff) figured out that if I add a widget to a panel, the font I set to the widget gets reset, or rather, gets set to the panel's font.
Is this expected behaviour?
And if so, how do I change a font of a widget that I plan to add to a panel without changing the panel's font?
I'll try changing the font AFTER I add it to the panel. See where it takes me.
EDIT: No dice. I tried getting a pointer to a button I added to a panel after I added it and changing its font, and it didn't work.
Is this expected behaviour?
And if so, how do I change a font of a widget that I plan to add to a panel without changing the panel's font?
I'll try changing the font AFTER I add it to the panel. See where it takes me.
EDIT: No dice. I tried getting a pointer to a button I added to a panel after I added it and changing its font, and it didn't work.