diff --git a/source/Ox.UI/js/Form/FormPanel.js b/source/Ox.UI/js/Form/FormPanel.js index 4cf5c331..76c29b12 100644 --- a/source/Ox.UI/js/Form/FormPanel.js +++ b/source/Ox.UI/js/Form/FormPanel.js @@ -14,7 +14,8 @@ Ox.FormPanel = function(options, self) { self = self || {}; var that = Ox.Element({}, self) .defaults({ - form: [] + form: [], + listSize: 256 }) .options(options || {}); @@ -64,7 +65,7 @@ Ox.FormPanel = function(options, self) { selected: [self.options.form[0].id], sort: [{key: 'id', operator: '+'}], unique: 'id', - width: 256 + width: self.options.listSize }).bindEvent({ select: function(data) { self.$sections[self.section].hide(); @@ -135,9 +136,7 @@ Ox.FormPanel = function(options, self) { elements: [ { element: self.$list, - resizable: true, - resize: [256], - size: 256 + size: self.options.listSize }, { element: self.$section