mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 19:36:00 +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: {
|
listeners: {
|
||||||
render: function(btn) {
|
render: function(btn) {
|
||||||
// hack: calculate an optimal button width on first display
|
// hack: calculate the max button width on first display to prevent the whole
|
||||||
// to prevent the whole toolbar to move when we switch
|
// toolbar to move when we switch between the "Remove" and "Detach" labels
|
||||||
// between the "Remove" and "Detach" labels
|
|
||||||
var def = btn.getSize().width;
|
var def = btn.getSize().width;
|
||||||
|
|
||||||
btn.setText(btn.altText);
|
btn.setText(btn.altText);
|
||||||
|
Loading…
Reference in New Issue
Block a user