Home All Groups Group Topic Archive Search About

large font size causes bottom of forms to be chopped off...

Author
7 Feb 2006 3:54 PM
Arrow
(Framework v2 / VS2005, C#)
a user is running an app (which works fine on "normal" PCs)
.....he's running it on a laptop with a large font size...what
is happening is my forms (most are fixed dialog types) looks
like it's being chopped off at the bottom...the top 3/4 looks
fine but my "OK", "Cancel" buttons and status bar are chopped
off (can partially see the buttons) ...this surprised me as i thought
Windows would take care of all scaling

....any ideas so it shows up properly for all font sizes ?

...thanks

Author
7 Feb 2006 4:19 PM
Arrow
looks like i have to do something like this?:
http://www.dotnet247.com/247reference/msgs/58/292722.aspx


Show quote
"Arrow" <arrow***@hotmail.com> wrote in message
news:%23XqO$6$KGHA.3052@TK2MSFTNGP09.phx.gbl...
> (Framework v2 / VS2005, C#)
> a user is running an app (which works fine on "normal" PCs)
> ....he's running it on a laptop with a large font size...what
> is happening is my forms (most are fixed dialog types) looks
> like it's being chopped off at the bottom...the top 3/4 looks
> fine but my "OK", "Cancel" buttons and status bar are chopped
> off (can partially see the buttons) ...this surprised me as i thought
> Windows would take care of all scaling
>
> ...any ideas so it shows up properly for all font sizes ?
>
> ..thanks
>
>
Author
8 Feb 2006 1:42 AM
Arrow
ugh...i just realize this is imprper for .Net 2.0 as
GetAutoScaleSize is obsolete ...looks like AutoScaleMode
should now be used.... any examples to autoscale a form
with the new calls ? thanks

Show quote
"Arrow" <arrow***@hotmail.com> wrote in message
news:%23hRb8IALGHA.740@TK2MSFTNGP12.phx.gbl...
>
> looks like i have to do something like this?:
> http://www.dotnet247.com/247reference/msgs/58/292722.aspx
>
>
> "Arrow" <arrow***@hotmail.com> wrote in message
> news:%23XqO$6$KGHA.3052@TK2MSFTNGP09.phx.gbl...
>> (Framework v2 / VS2005, C#)
>> a user is running an app (which works fine on "normal" PCs)
>> ....he's running it on a laptop with a large font size...what
>> is happening is my forms (most are fixed dialog types) looks
>> like it's being chopped off at the bottom...the top 3/4 looks
>> fine but my "OK", "Cancel" buttons and status bar are chopped
>> off (can partially see the buttons) ...this surprised me as i thought
>> Windows would take care of all scaling
>>
>> ...any ideas so it shows up properly for all font sizes ?
>>
>> ..thanks
>>
>>
>
>
Author
2 Mar 2006 9:28 AM
Jan
I have the same problem but I don't think that the AutoScaleMode helps us.

>> Windows Forms in .Net 2.0 are designed to automatically scale under one of two events: the Font assigned to the form changes, or the screen resolution changes.  There is an AutoScaleMode property on a Form... <<

For me, it doesn't work when I set AutoScaleMode to "none". The font size is
still large when the system font size is large.

Does anybody how to ignore the system font size?

Show quote
> ugh...i just realize this is imprper for .Net 2.0 as
> GetAutoScaleSize is obsolete ...looks like AutoScaleMode
> should now be used.... any examples to autoscale a form
> with the new calls ? thanks

AddThis Social Bookmark Button