Henry,
Your test passed...
The element was being 'newed' from a class. I think that is where the problem was. If you new a class that has an inputtext in it, the default font is seriph...
thanks,
MG
<class name="foo">
<inputtext/>
</class>
new foo()
On Thu, Oct 19, 2006 at 3:00 PM, Henry Minsky wrote:
Did you try my example, try this
<canvas width="100%" height="80%" >
<simplelayout spacing="10"/>
<text resize='true' text="${'This is text in the default font: '+this.fontname }"/>
<inputtext resize='true' text="${'This is text in the default font: '+this.fontname }"/>
</canvas>
Both text fields show up with verdana san serif font...
On 10/19/06, Michael Gregor < [EMAIL PROTECTED]> wrote: Just to clarify if it matters...
inputtext - shows serpihed chars
text - shows sans chars
Does that change anything? Or should I send over the SS?
thanks,
MG
On Thu, Oct 19, 2006 at 2:33 PM, Henry Minsky wrote:
In legals top of tree, I see a sans serif font by default if I do
<text>This is some text in the default font</text>
I see this in trunk as well.
Can you send me a screen shot of what you see?
Try this test program
<canvas width="100%" height="80%" >
<text resize='true' text="${'This is text in the default font: '+this.fontname }"/>
</canvas>
On 10/19/06, Michael Gregor < [EMAIL PROTECTED] <> > wrote: Henry and laszlo-user,
trunk or 3.4.x ?
thanks,
MG
On Thu, Oct 19, 2006 at 8:06 AM, Henry Minsky wrote:
Yes, what build/release are you using?
On 10/19/06, Michael Gregor < [EMAIL PROTECTED] <> < _javascript_:lzSetCanvasAttribute('js_mailto', ' [EMAIL PROTECTED]') <> > > wrote: Members,
I am having trouble with setting the font on the inputtext component.
It seems to always want to be the seriphed font.
I have even noticed that the debugger has gone seriph. didn't it used
to be sans?
thanks,
MG
< _javascript_:lzSetCanvasAttribute('js_mailto', ' [EMAIL PROTECTED]') <> >
--
Henry Minsky
Software Architect
[EMAIL PROTECTED] <> < _javascript_:lzSetCanvasAttribute('js_mailto', ' [EMAIL PROTECTED]') <> >
--
Henry Minsky
Software Architect
[EMAIL PROTECTED] <>
--
Henry Minsky
Software Architect
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
