Quote:
Originally Posted by CoolDragon
I know, you cannot adjust the style of the label using the xxx_set_text(). But xxx_set_text() yields almost identical result as <big>. Anyway, I would like to know how to set the font of the label to some "fixed width" font, because, when the clock updates between full screen refresh, the label width will change a little bit, along with the status bar icons's positions. The result of a local refresh is some "ghost" pixel from previous drawing.
|
The easy way is to change the /usr/share/popupmenu/popupmenu.rc "style" file. You can find some simple useful examples on the lua apps I've released.
EDIT: adding a name for the widget (gtk_widget_set_name() ?) could help to identify only this label in the style file.