← Back to team overview

ubuntu-phone team mailing list archive

Re: [sdk] TextField change background colour?

 

Hi Sam,

You can try that:

    style: TextFieldStyle {
        background: Item {}
    }

OBS: I am not sure if this is the correct way to do that, but this should works.

BR

On Fri, Nov 1, 2013 at 8:17 AM, Sam Bull <sam.hacking@xxxxxxxx> wrote:
> I would like to change the background colour of a TextField to indicate
> an error. I cannot see any option to do this. I do however see an
> errorHighlight attribute, but changing it seems to do nothing.
>
> Any way to do this?
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References