It is reasonable. However, most form are designed with elemenets with specified fonts. If the user wants to use some type of hack to change the default font, there are something going to be broken anyway. You can probably handle the list well, how about Buttons, labels? A "good" program should always check to see if these stuff fit properly, but it requires work, and it can be really complicated. Imagine you have tons of forms. So, it is also reasonable to let the people who choose the hack to take some risks.
In the given case, a custom draw function is better. Max --- "Avilla, Dane" <[EMAIL PROTECTED]> wrote: > Hmm . . . the "just get a fixed-width font and embed it in your app" > approach definitely doesn't seem like the "Right Way" to do things here. > FntCharsInWidth is the "Right Way" and has the added bonus of working with > any font that may be installed on the system. If a user has replaced the > default font using a 3rd party utility, I would think apps should generally > respect that choice. I agree there are certain cases where fixed-width > fonts are quite appropriate (serial terminal comms apps), however, I don't > think that this case (ie: how do I make multiple left-aligned text columns > in a non-fixed-width font in a list box) is one of them. ===== http://www.weirdwww.com/ __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
