I'm developing with the Windows LiveCode IDE (8.0.1) and deploying to Android.
I have a button with a blue foregroundColor so its text label appears blue. When disabled in the Windows IDE the label text turns to grey indicating the button is disabled. When I install the app on Android however the label text of the disabled button stays blue and the button appears identical whether it is enabled or disabled.
Is this a (known) bug?
I know there are workarounds, like using the disabledIcon for example but would like to know if there's any easier way.
ps: I tried changing the foregroundColor of the disabled button with script but that didn’t work either.
Any help appreciated.
Thanks,
Jim
disabled button appearance on Android
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: disabled button appearance on Android
Hi Jim,
I can confirm this and it seems to relate to setting the foregroundColor of a button. Please submit a report to Quality Control as they will be able to investigate further-
http://quality.livecode.com
You will be able to use workarounds for now and I do seem to be able to set the foreGroundColor via script. An example is-
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--
I can confirm this and it seems to relate to setting the foregroundColor of a button. Please submit a report to Quality Control as they will be able to investigate further-
http://quality.livecode.com
You will be able to use workarounds for now and I do seem to be able to set the foreGroundColor via script. An example is-
Code: Select all
set the disabled of button 2 to not the disabled of button 2
set the foregroundcolor of button 2 to "gray"
Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--
Re: disabled button appearance on Android
Thanks Neil. I submitted to Quality Control (Bug 17824) . Panos said it was more of an enhancement request.
Trying again after what you said I was also able to set the foregroundColor via script. And you just drew my attention to the "not" value.
Thanks again,
Jim
Trying again after what you said I was also able to set the foregroundColor via script. And you just drew my attention to the "not" value.
Thanks again,
Jim