javascript - missing title window and border in Extjs -


Here I have created a form, I get all the fields, but I have 2 problems:

1.Buttons should be horizontal, but its appearance is vertical.

2. The missing title bar and boundary mean that it only has to show the field.

  Ext.onReady (function () {rendereTo: Ext .getBody (); var form = new Ext.form.Panel ({border: true, frame: true, title: 'login' , Field default: {LabelWeath: 60,}, item: [{xtype: 'fieldet', width: 400, title: 'CAS login', column wthith: 2, openable: incorrect, cls: 'text box-margin' , Default type: 'textfield', layout: 'anchor', default: {anchor: '100%',}, item: [{allowblank: false, xtype: 'textfield', width: 40, cls: 'textbox-margin ', Id:' txtuser ', field label:' user id ', name:' enter user id ', empty text:' attribute Enter the text id ', anchor:' 100% ',}, {allowBlank: false, xtype:' textfield ', width: 40, cls:' textbox-margin ', id:' txtpass', field label: 'password' Type: Input: 'password', anchor: '100%',}],}, {button: [[Genre: 'BTN-margin', aligned: '' pass '', empty text: 'enter password' 'Medium', padding left: 15, CLS: 'BTN-margin', scale: 'medium', text: 'login', width: 40, handler: function () {{Ext.Msg.alert ('submit Button ');}}}, {style:' btn-margin ', align:' middle ', padding bye A. 15, CLS 'Bitian-margin "scale" through "the text:" Reset ", Width: 40, handler: function () {Ext.Msg.alert (' reset button '); }}}},]  

How to solve these two issues?


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -