you can patch pilrc from sources and set correct char widths with it. thats only way i am aware of. problem is that pilrc doesn't store RIGHT, CENTER etc. in resources (palm doesn't know such things) but it calculates dimensions and coordinates from text and used font. idf later font is changed its too late.
the best way how to solve such things is set and move all controls in runtime depending on font actually used. this will work also in case somebody uses some hack to change default fonts with others. JSeb wrote: > Hi Palm developpers and gurus. > > I’m pretty sure this has already been answered somewhere, but I couldn’t find > it. > > I’m using PilRC to construct my forms. I noticed that when I don’t use the > standard font set on my palm (e.g., through fontsmoother), the font alignment > on my forms is broken (specifically, when I use CENTER or RIGHT horizontal > tags in my resources, or when I have relative horizontal alignment à la > PREVxxx). > > So the font I use is wider or narrower than the standard version (the problem > doesn’t manifest itself with FONT 0, though). > > Is it me that uses a badly-designed font? It doesn’t seem to be a problem > with other applications, but then again I seem to notice that static forms in > other applications (e.g. “about” screens) make a sparse use of centering. > > How is this issue usually solved? > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
