[Mono-list] Label With Very Large Font
Ratfish
aaron at radich.com
Thu Jan 7 11:55:26 EST 2010
My interface requires that I display a very large number on my form (at least
1" in height). I'm attempting to do this with a standard Gtk.Label, but
have not been able to increase the font size all that much with the
following code. Am I missing something? Is there a better suited control
for displaying large numbers?
Aaron
// setup the font for the ItemCount
// needs to be really large
Pango.FontDescription objFont2 = PangoContext.FontDescription.Copy ();
objFont2.Size = 275;
//objFont2.Size = (int)(objFont2.Size * Pango.Scale.XXLarge);
objFont2.Weight = Pango.Weight.Bold;
lblItemCount.ModifyFont(objFont2);
--
View this message in context: http://old.nabble.com/Label-With-Very-Large-Font-tp27055514p27055514.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list