When creating an XML dialog, holding an Edit box, I want to enter a number for 
the hight and width. Big question is, how high can that number be, and still 
fit inside a window on a normal basis. I.e, is there any way to calculate this, 
or is it a simple hit and miss. Specially when designing dialogs as a blind 
person, I find it hard to know whether a line or text block will fit into the 
window. My experience has been, that WE will read the whole line, even if the 
line is being cut off on the screen. Could there have been a method or 
something in the GWToolkit, that would take a string, and return an approximate 
number for the hight or width. I am not too familiar with the screen units 
being used in this regard, but my guess is that one unit might vary, depending 
on current font and size. Am I right on this one? If so, I do understand there 
might be a challenge in giving the exact number for the maximum hight and width 
to be used for a given text to be displayed in an Edit box, but that is why, I 
ask that the calculation at least could give some kind of an approximate - or 
suggested number. I found little help in browsing the reference manual on the 
matter, but maybe I was overlooking something. Or, does anyone of you blind app 
developers, have a good way of testing whether a dialog is properly designed.

Thanks for any feedback.

Reply via email to