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
This commit is contained in:
antisnatchor
2011-02-26 17:25:39 +00:00
parent 213285c3e4
commit 5ffc016b15

View File

@@ -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,