Re: Gtk::Label and proportional font




Hi,

how can I set a proportional font in a Gtk::Label?

Is this possible?

I will write a text and i need a proportional font, because of the
spaces between the characters. When I use the normal font, there will be
more space for _ than - (example).

So, how can I use proportional font. It must be proportional, if the
user change the font in his config, the font in my app must be the same
as I set it.

Can anyone help me??

Thanks, Daniel

Don't you mean a monospaced font?
Anyway, you can set the font of your label with Gtk::Label::modify_font().




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]