[pve-devel] [PATCH manager 3/6] set fixed height on global search window
Dominik Csapak
d.csapak at proxmox.com
Tue Dec 6 16:26:39 CET 2016
the buffered renderer does not work with auto height, and was disabled.
to enable it, we set a fixed height
when nothing is found, display 'none' to indicate nothing was found
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/form/GlobalSearchField.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/manager6/form/GlobalSearchField.js b/www/manager6/form/GlobalSearchField.js
index 1ebb08d..b28ce99 100644
--- a/www/manager6/form/GlobalSearchField.js
+++ b/www/manager6/form/GlobalSearchField.js
@@ -22,8 +22,9 @@ Ext.define('PVE.form.GlobalSearchField', {
xtype: 'gridpanel',
focusOnToFront: false,
floating: true,
+ emptyText: PVE.Utils.noneText,
width: 600,
- maxHeight: 400,
+ height: 400,
scrollable: {
xtype: 'scroller',
y: true,
--
2.1.4
More information about the pve-devel
mailing list