[Gtk-sharp-list] Changing the font size of a widget

Agro Rachmatullah agro1986 at gmail.com
Fri May 26 07:59:33 EDT 2006


After touring Monodoc, here's the best that I can get:

Button b = new Button("Test");
FontDescription f = new FontDescription();
f.Size = 1;
b.Child.ModifyFont(f);

Yes, the font gets bigger than usual. However, I need it to be even
bigger! Changing the f.Size to 2, 3, 4, or even 50 won't make it any
different than setting it to 1. How does that thing work, anyway?

Thanks a lot


More information about the Gtk-sharp-list mailing list