mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-26 04:31:08 +00:00
hack: call setHeight to show scroll bars correctly
This commit is contained in:
parent
13d5c117b1
commit
995ac416dd
6
debian/changelog.Debian
vendored
6
debian/changelog.Debian
vendored
@ -1,3 +1,9 @@
|
|||||||
|
pve-manager (2.2-18) unstable; urgency=low
|
||||||
|
|
||||||
|
* add workaroud to correctly show scrollbars
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Wed, 26 Sep 2012 11:22:16 +0200
|
||||||
|
|
||||||
pve-manager (2.2-17) unstable; urgency=low
|
pve-manager (2.2-17) unstable; urgency=low
|
||||||
|
|
||||||
* add snapshot support to GUI
|
* add snapshot support to GUI
|
||||||
|
@ -2,7 +2,7 @@ RELEASE=2.2
|
|||||||
|
|
||||||
VERSION=2.2
|
VERSION=2.2
|
||||||
PACKAGE=pve-manager
|
PACKAGE=pve-manager
|
||||||
PACKAGERELEASE=17
|
PACKAGERELEASE=18
|
||||||
|
|
||||||
BINDIR=${DESTDIR}/usr/bin
|
BINDIR=${DESTDIR}/usr/bin
|
||||||
PERLLIBDIR=${DESTDIR}/usr/share/perl5
|
PERLLIBDIR=${DESTDIR}/usr/share/perl5
|
||||||
|
@ -157,7 +157,7 @@ Ext.define('PVE.window.Snapshot', {
|
|||||||
border: false,
|
border: false,
|
||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
buttons: [ submitBtn ],
|
buttons: [ submitBtn ],
|
||||||
items: me.formPanel
|
items: [ me.formPanel ]
|
||||||
});
|
});
|
||||||
|
|
||||||
if (me.snapname) {
|
if (me.snapname) {
|
||||||
|
@ -47,6 +47,14 @@ Ext.define('PVE.storage.IScsiScan', {
|
|||||||
matchFieldWidth: false,
|
matchFieldWidth: false,
|
||||||
listConfig: {
|
listConfig: {
|
||||||
loadingText: 'Scanning...',
|
loadingText: 'Scanning...',
|
||||||
|
listeners: {
|
||||||
|
// hack: call setHeight to show scroll bars correctly
|
||||||
|
refresh: function(list) {
|
||||||
|
var lh = PVE.Utils.gridLineHeigh();
|
||||||
|
var count = store.getCount();
|
||||||
|
list.setHeight(lh * ((count > 10) ? 10 : count));
|
||||||
|
}
|
||||||
|
},
|
||||||
width: 350
|
width: 350
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -25,7 +25,15 @@ Ext.define('PVE.storage.VgSelector', {
|
|||||||
queryMode: 'local',
|
queryMode: 'local',
|
||||||
editable: false,
|
editable: false,
|
||||||
listConfig: {
|
listConfig: {
|
||||||
loadingText: 'Scanning...'
|
loadingText: 'Scanning...',
|
||||||
|
listeners: {
|
||||||
|
// hack: call setHeight to show scroll bars correctly
|
||||||
|
refresh: function(list) {
|
||||||
|
var lh = PVE.Utils.gridLineHeigh();
|
||||||
|
var count = store.getCount();
|
||||||
|
list.setHeight(lh * ((count > 10) ? 10 : count));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -47,6 +47,14 @@ Ext.define('PVE.storage.NFSScan', {
|
|||||||
matchFieldWidth: false,
|
matchFieldWidth: false,
|
||||||
listConfig: {
|
listConfig: {
|
||||||
loadingText: 'Scanning...',
|
loadingText: 'Scanning...',
|
||||||
|
listeners: {
|
||||||
|
// hack: call setHeight to show scroll bars correctly
|
||||||
|
refresh: function(list) {
|
||||||
|
var lh = PVE.Utils.gridLineHeigh();
|
||||||
|
var count = store.getCount();
|
||||||
|
list.setHeight(lh * ((count > 10) ? 10 : count));
|
||||||
|
}
|
||||||
|
},
|
||||||
width: 350
|
width: 350
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user