Search code examples
extjssencha-touchsencha-touch-2sencha-architect

Display Text - Diplay Field


I want to display a static text in my app which would be a tab in my tabpanel...

I can only find textfield with input... how do I get a textfield no input to show?

In sencha architect


Solution

  • I think you're looking for label component: http://docs.sencha.com/extjs/4.0.7/#!/api/Ext.form.Label

    Since you clarified that this is for Sencha Touch and not ExtJs, the only way to do is to use standard Ext.Component element and specify html property of it.