PDA

View Full Version : problem with fonts


pavankumargupta
01-17-2007, 05:13 AM
hi,

i changed the font of window.

and all the inner components of window, has been changed to the window font.

if i want the default font for inner components, with out specifying any new font for the inner components, how to get this.

regards
pavan.

notzippy
01-17-2007, 09:06 AM
Text components use LzView.searchParents("fontname") to determine if a font has been defined.
It may be possible to specify the default font by using the canvas object like
for example

...
<view font="${canvas.fontname}">
<text>default font</text>
</view>

pavankumargupta
01-17-2007, 07:53 PM
thx, its working fine.

regards
pavan.