From 290971bdb31f0e32270beffc23dd61d180459369 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sat, 16 Apr 2011 22:25:41 +0200 Subject: [PATCH] fix the size of the description and message field for the user detail window. see #125 --- pyweb/mumble/media/js/channelviewerplugins.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyweb/mumble/media/js/channelviewerplugins.js b/pyweb/mumble/media/js/channelviewerplugins.js index 5e5590a..8b49e8a 100644 --- a/pyweb/mumble/media/js/channelviewerplugins.js +++ b/pyweb/mumble/media/js/channelviewerplugins.js @@ -22,6 +22,7 @@ Ext.ux.MumbleUserEditor = Ext.extend( Ext.Component, { xtype: "form", border: false, title: gettext("User comment"), + layout: 'fit', items: [{ xtype: "htmleditor", fieldLabel: 'x', @@ -161,7 +162,7 @@ Ext.ux.MumbleUserEditor = Ext.extend( Ext.Component, { xtype: "form", border: false, title: gettext("Send message"), - defaults: { "anchor": "-20px" }, + layout: 'fit', items: [{ xtype: "htmleditor", fieldLabel: 'x', @@ -190,6 +191,7 @@ Ext.ux.MumbleUserEditor = Ext.extend( Ext.Component, { title: this.windowTitle || gettext("User details"), layout: 'fit', items: { + viewConfig: { forceFit: true }, xtype: "tabpanel", activeTab: 0, border: false,