From a9dd713809f48c3338a693f815022d7777458ad1 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Sun, 29 Jul 2012 14:02:25 +0100 Subject: [PATCH] minFilesW adjustment & not setting account minFilesW should be 14px not 15px (could just about see edge of icons) Not setting account width. Wasn't really necessary and caused icons to collapse into smaller space when file manager reduced in width. --- lib/coder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/coder.js b/lib/coder.js index 725acd3..d45eeec 100644 --- a/lib/coder.js +++ b/lib/coder.js @@ -1,7 +1,7 @@ var ICEcoder = { // Define settings filesW: 250, // Initial width of the files pane - minFilesW: 15, // Min width of the files pane + minFilesW: 14, // Min width of the files pane maxFilesW: 250, // Max width of the files pane selectedTab: 0, // The tab that's currently selected changedContent: [], // Binary array to indicate which tabs have changed @@ -79,7 +79,7 @@ var ICEcoder = { // Apply sizes to various elements of the page headerH = 40, footerH = 30, accountH = 50, tabsBarH = 21, findBarH = 28; this.header.style.width = this.tabsBar.style.width = this.findBar.style.width = winW + "px"; - this.files.style.width = this.account.style.width = this.accountLogin.style.width = this.editor.style.left = this.filesW + "px"; + this.files.style.width = this.accountLogin.style.width = this.editor.style.left = this.filesW + "px"; this.account.style.height = this.accountH + "px"; this.fmLock.style.marginLeft = (this.filesW-42) + "px"; this.filesFrame.style.height = (winH-headerH-accountH-footerH) + "px";