[MonoDevelop] Changing font on a label

Darwin Reynoso monouser at gmail.com
Tue Jan 22 21:18:08 EST 2008


Chris, it worked fine. thanks a lot for your help but how do i change the
size?

On Jan 22, 2008 8:58 PM, Chris Howie <cdhowie at gmail.com> wrote:

> On Jan 22, 2008 8:48 PM, Darwin Reynoso <monouser at gmail.com> wrote:
> > Chris, thanks a lot for your quick respond but on page 91 mono a
> developer's
> > notebook
> > shows an example of a window with a label in bold and i would like to
> know
> > how to do that
> > using stetic.
> >
> > here is the code in the book but it doesn't work with stetic.
> >
> > Label label1 = new Label("<span weight=\"bold\" size=\"larger\">"+"Enter
> > your name and  preffered address</span>");
>
> Ah, making it bold isn't changing the font, that's changing the weight.
>  :)
>
> In this case just make sure that the "Use markup" property is checked
> and wrap the Label property in a <b> tag:  "<b>Your text:</b>"
>
> --
> Chris Howie
> http://www.chrishowie.com
> http://en.wikipedia.org/wiki/User:Crazycomputers
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20080122/ca4da645/attachment.html 


More information about the Monodevelop-list mailing list