partkeepr

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

commit 3aa0ac932aaba92e44c93fba350ca93eb05c837b
parent 0bb0de5d36071cdfd50222ba50893aa5f3d05bfc
Author: Felicitus <felicitus@felicitus.org>
Date:   Thu, 30 Jun 2011 17:42:39 +0200

Some layout changes

Diffstat:
Mfrontend/js/Components/Part/PartsManager.js | 4+++-
Mfrontend/js/PartKeepr.js | 2++
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/frontend/js/Components/Part/PartsManager.js b/frontend/js/Components/Part/PartsManager.js @@ -9,6 +9,7 @@ Ext.define('PartKeepr.PartManager', { alias: 'widget.PartManager', layout: 'border', border: false, + padding: 5, initComponent: function () { /** @@ -47,7 +48,7 @@ Ext.define('PartKeepr.PartManager', { this.detail.on("editPart", this.onEditPart, this); // Create the grid - this.grid = Ext.create("PartKeepr.PartsGrid", { region: 'center', layout: 'fit', store: this.getStore()}); + this.grid = Ext.create("PartKeepr.PartsGrid", { title: i18n("Parts List"), region: 'center', layout: 'fit', store: this.getStore()}); // Create the grid listeners this.grid.on("itemSelect", this.onItemSelect, this); @@ -62,6 +63,7 @@ Ext.define('PartKeepr.PartManager', { this.stockLevel = Ext.create("PartKeepr.PartStockHistory", { title: "Stock History"}); this.detailPanel = Ext.create("Ext.tab.Panel", { + title: i18n("Part Details"), hidden: true, region: 'east', split: true, diff --git a/frontend/js/PartKeepr.js b/frontend/js/PartKeepr.js @@ -186,6 +186,7 @@ Ext.application({ this.centerPanel = Ext.create("Ext.tab.Panel", { xtype: 'tabpanel', + border: false, region: 'center', bodyStyle: 'background:#DFE8F6' @@ -199,6 +200,7 @@ Ext.application({ layout: 'fit', items: [{ xtype: 'panel', + border: false, layout: 'border', items: [ this.centerPanel,