partkeepr

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

commit 66e1391e67dd09bdd1a5550f9d8f9faced5b6a5a
parent 7093cfef366ab60caae82ff4d4ba613b6a781a4d
Author: Felicitus <felicitus@felicitus.org>
Date:   Fri, 25 May 2012 05:11:20 +0200

Adjusted height of the part editor window to reflect new fields, fixes #199

Diffstat:
Msrc/frontend/js/Components/Part/Editor/PartEditor.js | 2+-
Msrc/frontend/js/Components/Part/Editor/PartEditorWindow.js | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/frontend/js/Components/Part/Editor/PartEditor.js b/src/frontend/js/Components/Part/Editor/PartEditor.js @@ -141,7 +141,7 @@ Ext.define('PartKeepr.PartEditor', { xtype: 'textarea', fieldLabel: i18n("Comment"), name: 'comment', - anchor: '100% -200' + anchor: '100% -220' }, { xtype: 'fieldcontainer', diff --git a/src/frontend/js/Components/Part/Editor/PartEditorWindow.js b/src/frontend/js/Components/Part/Editor/PartEditorWindow.js @@ -15,8 +15,8 @@ Ext.define('PartKeepr.PartEditorWindow', { /* Width and height settings */ width: 600, minWidth: 600, - minHeight: 390, - height: 390, + minHeight: 415, + height: 415, saveText: i18n("Save"), cancelText: i18n("Cancel"), @@ -37,7 +37,7 @@ Ext.define('PartKeepr.PartEditorWindow', { /* If the edit mode is "create", we need to enlarge the window a bit to fit the fields without scrolling */ if (this.partMode && this.partMode == "create") { - this.height = 445; + this.height = 460; } this.items = [ this.editor ];