public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] ui: tapeRestore: make window non-resizable
@ 2021-07-08 13:42 Dominik Csapak
  2021-07-12  4:25 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2021-07-08 13:42 UTC (permalink / raw)
  To: pbs-devel

While it would be nice to be able to resize that window for more
snapshots/datastores in view, this would need quite some reworking on the
input panel side. So for now, disable resizing of that window, otherwise
the grids look weird as they only scale horizontally but not vertically.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 www/tape/window/TapeRestore.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/tape/window/TapeRestore.js b/www/tape/window/TapeRestore.js
index 6a172b1e..f99789a3 100644
--- a/www/tape/window/TapeRestore.js
+++ b/www/tape/window/TapeRestore.js
@@ -11,6 +11,7 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
     url: '/api2/extjs/tape/restore',
     method: 'POST',
 
+    resizable: false,
     modal: true,
 
     mediaset: undefined,
-- 
2.30.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pbs-devel] applied: [PATCH proxmox-backup] ui: tapeRestore: make window non-resizable
  2021-07-08 13:42 [pbs-devel] [PATCH proxmox-backup] ui: tapeRestore: make window non-resizable Dominik Csapak
@ 2021-07-12  4:25 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-07-12  4:25 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion, Dominik Csapak

On 08.07.21 15:42, Dominik Csapak wrote:
> While it would be nice to be able to resize that window for more
> snapshots/datastores in view, this would need quite some reworking on the
> input panel side. So for now, disable resizing of that window, otherwise
> the grids look weird as they only scale horizontally but not vertically.
> 
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
> ---
>  www/tape/window/TapeRestore.js | 1 +
>  1 file changed, 1 insertion(+)
> 
>

applied for now as stop-gap measurment, in the future it would be nice if we
could make the layout of the window's content more responsive (but not that
important right now), thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-12  4:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 13:42 [pbs-devel] [PATCH proxmox-backup] ui: tapeRestore: make window non-resizable Dominik Csapak
2021-07-12  4:25 ` [pbs-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal