[Laszlo-user] Text colour on edittext issue
Robin Sheat
robin at kallisti.net.nz
Wed May 28 20:57:14 PDT 2008
I have an editext that, in some cases, the text comes out white-on-white. It
should be picking up the colours from the style, but even when I manually try
to override them, it seems to disregard them. The background is supposed to
be white, it's the text that should be a better colour, like black.
The curious things is that this error doesn't show up in hosted mode, only
solo.
After some testing, I managed to pin it down to this:
(Doesn't work)
<edittext name="start" datapath="@framestart" valign="middle"
enabled="${!classroot.lockcontroller.locked}"/>
(Does work)
<edittext name="start" datapath="@framestart" valign="middle" />
These also work like you'd expect:
<edittext name="start" datapath="@framestart" valign="middle"
enabled="true"/>
<edittext name="start" datapath="@framestart" valign="middle"
enabled="false"/>
...why would something being bound to enabled or not make a difference to the
text colour?
--
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: This is a digitally signed message part.
Url : http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20080528/e9c3f2db/attachment.bin
More information about the Laszlo-user
mailing list