>Correct,
>
>In a huge existing application implementing DPI awareness is no joke. Its possible, but indeed you'll have to take care of a lot of things.
>However some things go reasonbly automatic. Increasing or decreasing fontsize on a grid will cascade down to the column, header and control level automatically.
>
>Walter,
But not column width, if spaced fine, and I'm not sure about rowheight. Inserted stuff in containers? Lot's of things to consider.
Also Fontsize might better be scaled in Integers, so width / height of the container must scale according to space needed (depending on the number of objects per direction) If objects are intersecting, for example in different columns, it changes. Correct height of an editbox is tricky w/o DPI, because if the gaps it needs, this is all odd.
Again, one would need to parse the stuff in a orientation given (what must not be left to right, it could be left to right, dynamic, right to left, the very same container)
So how to figure out what goes on? It could operate on RESIZE, MOVED, SPLITTER movement, ANCHOR ....
It could be limited by MIN* and MAX* values, possibly something user dynamic.
There is a lot math involved on how to resize a button if you change it's fontsize. Again, it does not scale very well between fontsize and width / height
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]