Sencha form disabled field color problem

This is a short post. I’ve been struggling on both the iPhone and the iPad to make the form fields look pretty. A very basic problem that comes up is that when the fields are disabled, the text background becomes grey but at the very end of the field, the background goes white. This makes it look really ugly on the GUI…. As though it isn’t rendered completely.

This is a work around to the problem that I found somewhere on the internet after the jump 🙂

Before override code :

Ext.override(Ext.form.Field, {
After Work Around :

Leave a message :)

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s