Edittexts turn grey when they're disabled, and should prevent edits.
Can you file a bug in http://jira.openlaszlo.org/ with a complete, small
testcase that shows the style issue? Thanks!
Robin Sheat wrote:
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?
--
Regards,
Max Carlson
OpenLaszlo.org