[Laszlo-user] canvascolor ignored in a style?

Robin Sheat robin at kallisti.net.nz
Sun Jun 17 04:49:02 PDT 2007


I have the following test case:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE canvas SYSTEM "http://www.openlaszlo.org/lps-latest/tools/lzx.dtd">
<canvas width="100" height="100">
	<include href="test2.lzx" />
	<test2 name="defaultstyle" isdefault="true" />
</canvas>

where test2.lzx is:
<?xml version="1.0"?>
<!DOCTYPE canvas SYSTEM "http://www.openlaszlo.org/lps-latest/tools/lzx.dtd">
<library>
	<class name="test2" extends="style"
		canvascolor="0x00FF00">
	</class>
</library>

however the canvas colour ends up being white anyway. This is using lps-4.0.2 
with flash.

-- 
Robin <robin at kallisti.net.nz> JabberID: <eythian at jabber.kallisti.net.nz>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20070617/042514ae/attachment.bin


More information about the Laszlo-user mailing list