Mercurial > lada > lada-client
diff app/view/FilterPanel.js @ 1104:414f7c9908d6
some reorg of filterpanal and messprogramm form
author | Michael Stanko <mstanko@bfs.de> |
---|---|
date | Wed, 11 May 2016 08:57:40 +0200 |
parents | cc17de34c689 |
children | 3b4dcc83a21b |
line wrap: on
line diff
--- a/app/view/FilterPanel.js Wed May 11 08:55:04 2016 +0200 +++ b/app/view/FilterPanel.js Wed May 11 08:57:40 2016 +0200 @@ -44,11 +44,21 @@ margin: '0 0 0 10' }] }, { - xtype: 'checkbox', - name: 'favorites', - boxLabel: 'nur Favoriten', - margin: '0, 0, 0, 5', - checked: true + layout: { + type: 'hbox', + }, + border: false, + items: [{ + xtype: 'checkbox', + name: 'favorites', + boxLabel: 'nur Favoriten', + checked: true + }, { + xtype: 'button', + action: 'manage', + text: 'Filterauswahl bearbeiten', + margin: '0 0 0 20' + }] }, { xtype: 'displayfield', name: 'description', @@ -58,6 +68,22 @@ }, { xtype: 'panel', border: false, + margin: '10 0 10 0', + items: [{ + xtype: 'button', + action: 'search', + text: 'Suchen', + margin: '0 10 0 0' + }, { + xtype: 'button', + action: 'reset', + text: 'Zurücksetzen', + margin: '0 10 0 0' + }], + hidden: false + }, { + xtype: 'panel', + border: false, name: 'filtervariables', hidden: true, margin: '10, 0, 10, 0', @@ -67,7 +93,6 @@ name: 'filtervalues', items: [] }, { - layout: { type: 'hbox', pack: 'end' @@ -84,26 +109,6 @@ text: 'Vorbelegung zurücksetzen' }] }] - }, { - xtype: 'panel', - border: false, - margin: '10 0 10 0', - items: [{ - xtype: 'button', - action: 'search', - text: 'Suchen', - margin: '0 10 0 0' - }, { - xtype: 'button', - action: 'reset', - text: 'Zurücksetzen', - margin: '0 10 0 0' - }, { - xtype: 'button', - action: 'manage', - text: 'Filterauswahl bearbeiten' - }], - hidden: false }]; this.callParent(arguments); var combo = me.down('combobox[name=filter]');