[Gtk-sharp-list] Changing the font size of a widget
Salvatore Scarciglia
s.scarciglia at hyperphar.com
Fri May 26 08:10:28 EDT 2006
On Fri, 26 May 2006 18:59:33 +0700
"Agro Rachmatullah" <agro1986 at gmail.com> wrote:
> 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?
Take a look here:
http://laas.altervista.org/faq.php#faq7
and read more about the Pango namespace; especially Pango.Scale class
bye
--
LAAS --------------------------<|
http://laas.altervista.org ----<|
More information about the Gtk-sharp-list
mailing list