Re: adjust font to label height?
- From: "Norbert" <norbert.thek@xxxxxxxxx>
- Date: 20 Jul 2005 00:49:07 -0700
The only way I can think of
would be creating your own Label Class
and overriding the OnPaint Method
There you can get the Height of your Label
and based on it select a coresponding FontSize.
But I dont know if you can derive from "Label"
because for example deriving from Button is Pointless
because this is only a wrapper for an OS-Button
.
- Follow-Ups:
- Re: adjust font to label height?
- From: Tim Raml
- Re: adjust font to label height?
- References:
- adjust font to label height?
- From: Tim Raml
- adjust font to label height?
- Prev by Date: Re: String DDMMYYYYHHNN to DateTime
- Next by Date: CallConvCdecl
- Previous by thread: adjust font to label height?
- Next by thread: Re: adjust font to label height?
- Index(es):