mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 15:58:20 +00:00
ui: qemu/HW: reformat comment to better use awailable text-width
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4fe1ea255a
commit
897c1fc84c
@ -484,9 +484,8 @@ Ext.define('PVE.qemu.HardwareView', {
|
||||
},
|
||||
listeners: {
|
||||
render: function(btn) {
|
||||
// hack: calculate an optimal button width on first display
|
||||
// to prevent the whole toolbar to move when we switch
|
||||
// between the "Remove" and "Detach" labels
|
||||
// hack: calculate the max button width on first display to prevent the whole
|
||||
// toolbar to move when we switch between the "Remove" and "Detach" labels
|
||||
var def = btn.getSize().width;
|
||||
|
||||
btn.setText(btn.altText);
|
||||
|
Loading…
Reference in New Issue
Block a user