[Gtk-sharp-list] 'Pango Size' does not work
Richard Torkar
richard.torkar@htu.se
Sat, 19 Jun 2004 23:43:52 +0200
On Sat, 2004-06-19 at 23:29 +0200, Miguel wrote:
> Hi,
>
> I try to scale the font size of a label.
> The following code should do that job:
>
> Pango.FontDescription fd;
> fd = new Pango.FontDescription ();
> fd.Size = Pango.Scale.Large;
> label.ModifyFont (fd);
> label.Layout.FontDescription = fd;
> label.Show ();
>
> But it won't work.
>
> A bold label works great with:
> fd.Weight = Pango.Weight.Bold;
> instead of fd.Size = Pango.Scale.Large;
Well,
http://bugzilla.ximian.com/show_bug.cgi?id=49534
;-)
/Richard