partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 1af19dc3c08883e45df688da9e718ef1d683afed
parent 774afce6ae03d66dd59935acb41a0ab8833ad1db
Author: Felicitus <felicitus@felicitus.org>
Date:   Tue, 21 Jun 2011 08:17:37 +0200

Fixed container widths (without that fix, the grid would be rendered but
seems to be empty, because the view is set to 0px width. Probably an
ExtJS bug).
Diffstat:
Mfrontend/js/Components/Footprint/FootprintEditor.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/frontend/js/Components/Footprint/FootprintEditor.js b/frontend/js/Components/Footprint/FootprintEditor.js @@ -10,7 +10,7 @@ Ext.define('PartKeepr.FootprintEditor', { this.attachmentGrid = Ext.create("PartKeepr.FootprintAttachmentGrid", { height: 200, - anchor: '100%', + width: '100%', border: true }); @@ -36,6 +36,7 @@ Ext.define('PartKeepr.FootprintEditor', { },{ labelWidth: 75, xtype: 'fieldcontainer', + anchor: '100%', fieldLabel: i18n("Attachments"), items: this.attachmentGrid }