From 5ffc016b157005ef986e8cb78407a5d603dcf7d7 Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Sat, 26 Feb 2011 17:25:39 +0000 Subject: [PATCH] issue 251: the command module tree panel now can be resized (in width, usability enhancement for long command module names) git-svn-id: https://beef.googlecode.com/svn/trunk@769 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- public/javascript/ui/panel/tabs/ZombieTabCommands.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/javascript/ui/panel/tabs/ZombieTabCommands.js b/public/javascript/ui/panel/tabs/ZombieTabCommands.js index 211056690..3c0244382 100644 --- a/public/javascript/ui/panel/tabs/ZombieTabCommands.js +++ b/public/javascript/ui/panel/tabs/ZombieTabCommands.js @@ -63,6 +63,8 @@ ZombieTab_Commands = function(zombie) { border: false, region: 'west', width: 190, + minSize: 190, + maxSize: 500, // if some command module names are even longer, adjust this value useArrows: true, autoScroll: true, animate: true, @@ -108,6 +110,11 @@ ZombieTab_Commands = function(zombie) { items: { layout: 'border', border: false, + // enable width resize of the command_module_tree + defaults: { + collapsible: false, + split: true + }, items: [command_module_tree, new Ext.Panel({ id: 'zombie-command-module-west-'+zombie.session,