From fdad87b6a0f8786173daf73c3a176cbef4678775 Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 29 Jul 2015 11:23:56 -0700 Subject: [PATCH] Add minimum window dimensions Fixes #310 // FREEBIE --- js/panel_controller.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/js/panel_controller.js b/js/panel_controller.js index 930e0774fc..09fd26c564 100644 --- a/js/panel_controller.js +++ b/js/panel_controller.js @@ -130,7 +130,9 @@ frame: 'none', focused: true, width: 300, - height: 440 + height: 440, + minWidth: 230, + minHeight: 73 }, function (windowInfo) { windowId = windowInfo.id; windowMap.add({ windowId: windowId, modelId: modelId }); @@ -168,8 +170,10 @@ type: 'panel', frame: 'none', focused: true, - width: 260, // 280 for chat - height: 440 // 420 for chat + width: 260, + height: 440, + minWidth: 230, + minHeight: 150 }, function (windowInfo) { inboxWindowId = windowInfo.id;