View Full Version : Using Form elements for views

27 Apr 2011, 3:53 AM
What's the easiest way to use standard elements for views?

Most iOS apps have the same look for data-presentation - like the built-in Form elements in Sencha Touch.

I.e. I want to leverage the great preset styles from Sencha Touch, however, if I use for example Form elements and merely disable the fields, they also become greyed-out.

Is there an easy way to do this, or has Sencha Touch only implemented Form elements for input, but not for data display (so I have to write my own styles for display)?

27 Apr 2011, 4:35 AM
Man you got to be clear about what you are asking.

27 Apr 2011, 5:00 AM
Just use an XTemplate and copy a few CSS-lines from the form-layouts