[cc'ing laszlo-dev]
On Sep 11, 2006, at 5:53 PM, Michael Gregor wrote:
>
> We find a need to have more than one style sheet. A global file sheet
> is not going to cut it...
Yep. There's an open bug for adding stylesheet src="foo.css". It's
LPP-2638. As a workaround, I think you can have
<library>
<stylesheet>
....
</stylesheet>
</library>
and use the lzx include mechanism to pull in multiple files. If that
workaround doesn't work, we can elevate the bug on that.
>
> Also:
>
> text foreground color - fgcolor does not work correctly when I use
> a $style.
>
> If I fgcolor:"0xFF00FF", it is black
> if I fgcolor:"666666", it is green
> if I fgcolor:0xFF00FF , it is black
>
> It looks like it likes the quotes, but is not converting the
> integer. The 666666 would be green in decimal.
Hmm, this works for me. See the test in test/style/typography/
typography-test.lzx
#gt3 {
stylefontcolor: "0x993399"; /* the text itself should be
purple */
}
and
<text id="gt3" width="300" multiline="true"
fgcolor="$style{'stylefontcolor'}"
text="(fgcolor purple by css) OpenLaszlo is an open source
platform for creating zero-install web applications with the user
interface capabilities of desktop client software.">
</text>
Can you send me a runnable test case of it not working?
-ben
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev