Fix layout bug
authorMichael Spahn <m.spahn@metaways.de>
Fri, 4 Jul 2014 14:57:58 +0000 (16:57 +0200)
committerPhilipp Schüle <p.schuele@metaways.de>
Mon, 7 Jul 2014 13:07:18 +0000 (15:07 +0200)
Caused that, the lower panel was not displayed if too many
items are inserted.

Change-Id: I47f0562bfe87b27c119fbe922d1f6e7820ae5fa4
Reviewed-on: http://gerrit.tine20.com/customers/827
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Alexander Stintzing <a.stintzing@metaways.de>
Tested-by: Alexander Stintzing <a.stintzing@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
tine20/Felamimail/js/sieve/RuleEditDialog.js

index 46467d6..2714aec 100644 (file)
@@ -282,7 +282,9 @@ Tine.Felamimail.sieve.RuleEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog
             {
                 region: 'north',
                 border: false,
+                xtype: 'panel',
                 autoScroll: true,
+                height: 200,
                 items: [{
                     layout: 'form',
                     labelWidth: 200,
@@ -295,7 +297,6 @@ Tine.Felamimail.sieve.RuleEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog
                     ]
                 }, this.conditionsPanel
                 ],
-                xtype: 'panel',
                 listeners: {
                     scope: this,
                     afterlayout: function(ct, layout) {
@@ -312,6 +313,7 @@ Tine.Felamimail.sieve.RuleEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog
                 region: 'center',
                 border: false,
                 frame: true,
+                xtype: 'panel',
                 layout: 'column',
                 items: [
                     this.actionTypeCombo,
@@ -328,6 +330,7 @@ Tine.Felamimail.sieve.RuleEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog
                     activeItem: this.idPrefix + 'fileinto',
                     border: false,
                     columnWidth: 0.5,
+                    xtype: 'panel',
                     defaults: {
                         border: false
                     },