From: Dominik Csapak <d.csapak@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH pmg-gui 2/4] {Attachment, Spam, Virus}Quarantine: fix layout for iframe
Date: Wed, 26 May 2021 11:13:10 +0200 [thread overview]
Message-ID: <20210526091312.20930-3-d.csapak@proxmox.com> (raw)
In-Reply-To: <20210526091312.20930-1-d.csapak@proxmox.com>
in extjs 7.0 the css changed slightly so that we need to define
the 'fit' layout explicitely to maintain the full width/height
otherwise it can happen that the iframe gets cut off
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
js/AttachmentQuarantine.js | 1 +
js/SpamQuarantine.js | 1 +
js/VirusQuarantine.js | 1 +
3 files changed, 3 insertions(+)
diff --git a/js/AttachmentQuarantine.js b/js/AttachmentQuarantine.js
index f1a9a54..6449012 100644
--- a/js/AttachmentQuarantine.js
+++ b/js/AttachmentQuarantine.js
@@ -146,6 +146,7 @@ Ext.define('PMG.AttachmentQuarantine', {
title: gettext('Selected Mail'),
border: false,
region: 'center',
+ layout: 'fit',
split: true,
reference: 'preview',
disabled: true,
diff --git a/js/SpamQuarantine.js b/js/SpamQuarantine.js
index daa3a69..58cf74c 100644
--- a/js/SpamQuarantine.js
+++ b/js/SpamQuarantine.js
@@ -308,6 +308,7 @@ Ext.define('PMG.SpamQuarantine', {
title: gettext('Selected Mail'),
border: false,
region: 'center',
+ layout: 'fit',
split: true,
reference: 'preview',
disabled: true,
diff --git a/js/VirusQuarantine.js b/js/VirusQuarantine.js
index d5753dd..6ff1c17 100644
--- a/js/VirusQuarantine.js
+++ b/js/VirusQuarantine.js
@@ -155,6 +155,7 @@ Ext.define('PMG.VirusQuarantine', {
title: gettext('Selected Mail'),
border: false,
region: 'center',
+ layout: 'fit',
split: true,
reference: 'preview',
disabled: true,
--
2.20.1
next prev parent reply other threads:[~2021-05-26 9:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 9:13 [pmg-devel] [PATCH pmg-gui 0/4] fixes/changes extjs 7.0 Dominik Csapak
2021-05-26 9:13 ` [pmg-devel] [PATCH pmg-gui 1/4] change ui to 'pve-nav' Dominik Csapak
2021-05-26 9:13 ` Dominik Csapak [this message]
2021-05-26 9:13 ` [pmg-devel] [PATCH pmg-gui 3/4] MainView: use new beforeChangePath signature Dominik Csapak
2021-05-26 9:13 ` [pmg-devel] [PATCH pmg-gui 4/4] MainView: fix redirectTo call Dominik Csapak
2021-06-11 13:19 ` [pmg-devel] applied-series: [PATCH pmg-gui 0/4] fixes/changes extjs 7.0 Stoiko Ivanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210526091312.20930-3-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pmg-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal