Author |
Topic  |
|
nkilzer
8 Posts |
Posted - 10 Jun 2005 : 18:51:54
|
In my application, I create a graph inside of a (roughly) square form that is resizable. The graph control is fill-docked to the form's client area.
The form starts out at a size of about 250x280. When I set the font size to something that looks reasonable for this scale (about 7pt), and resize, keeping the aspect ratio fairly constant, everything works OK.
However, if the aspect ratio is skewed drastically, say to 800x350, then the font tends to get small and unreadable relatively quickly.
Any suggestions to keep the font readable when the form aspect is skewed (short of the brute-force solution of detecting the resize and changing the font) would be welcome. |
|
quinncurtis
1164 Posts |
Posted - 11 Jun 2005 : 08:46:25
|
In your example, while you are changing the aspect ratio, you are actually making the graph larger in both dimensions. Under this circumstance the font size will only get bigger, not smaller.
Did you mean to say that when you drastically change the aspect ratio and make the graph smaller in one or more dimensions, that the font size gets smaller.
|
 |
|
|
Topic  |
|
|
|