Mercurial > lada > lada-client
comparison app/view/search/List.js @ 520:16fbbad55589
Updated viewport layout.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 16 Dec 2014 18:16:25 +0100 |
parents | c1b77fb96b01 |
children | 9545adcfceeb |
comparison
equal
deleted
inserted
replaced
519:48593a6181c9 | 520:16fbbad55589 |
---|---|
17 'Ext.layout.container.Column' | 17 'Ext.layout.container.Column' |
18 ], | 18 ], |
19 | 19 |
20 title: 'SQL-Auswahl', | 20 title: 'SQL-Auswahl', |
21 initComponent: function() { | 21 initComponent: function() { |
22 this.layout = 'column'; | 22 this.layout = { |
23 type: 'vbox', | |
24 align: 'stretch' | |
25 }; | |
23 this.items = [{ | 26 this.items = [{ |
24 id: 'search', | 27 id: 'search', |
25 xtype: 'combobox', | 28 xtype: 'combobox', |
26 editable: false, | 29 editable: false, |
27 store: 'Queries', | 30 store: 'Queries', |
28 displayField: 'name', | 31 displayField: 'name', |
29 valueField: 'id', | 32 valueField: 'id', |
30 emptyText: 'Wählen Sie eine Abfrage' | 33 emptyText: 'Wählen Sie eine Abfrage' |
31 }, { | 34 }, { |
35 // Buttons to trigger the search. | |
36 id: 'SearchBtnPanel', | |
37 xtype: 'panel', | |
38 border: false, | |
39 margin: '0 0 10 0', | |
40 items: [{ | |
41 id: 'SearchBtn', | |
42 text: 'Suchen', | |
43 xtype: 'button', | |
44 margin: '0 10 0 0' | |
45 }, { | |
46 id: 'ResetBtn', | |
47 text: 'Zurücksetzen', | |
48 xtype: 'button' | |
49 }], | |
50 hidden: false | |
51 }, { | |
32 xtype: 'panel', | 52 xtype: 'panel', |
33 maxWidth: '500', | 53 maxWidth: '500', |
34 border: false, | 54 border: false, |
35 margin: '0 10', | 55 margin: '0 10', |
36 items: [{ | 56 items: [{ |
37 id: 'sqldesc', | 57 id: 'sqldesc', |
38 xtype: 'displayfield', | 58 xtype: 'displayfield', |
39 fieldLabel: 'Beschreibung', | 59 fieldLabel: 'Beschreibung', |
60 shrinkWrap: 3, | |
40 value: '-/-' | 61 value: '-/-' |
41 }, { | 62 }, { |
42 id: 'sqlquery', | 63 id: 'sqlquery', |
43 xtype: 'displayfield', | 64 xtype: 'displayfield', |
44 fieldLabel: 'Abfrage', | 65 fieldLabel: 'Abfrage', |