From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 045261FF0AF for ; Fri, 23 Oct 2026 13:40:53 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 182902169D; Fri, 23 Oct 2026 13:40:48 +0200 (CEST) From: Shan Shaji To: pve-devel@lists.proxmox.com Subject: [PATCH pve_flutter_frontend 2/3] fix: ui: bottom overflow on apple's duo device Date: Fri, 23 Oct 2026 13:40:35 +0200 Message-ID: <20261023114036.70719-3-s.shaji@proxmox.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20261023114036.70719-1-s.shaji@proxmox.com> References: <20261023114036.70719-1-s.shaji@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1792755644761 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.381 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 5LNE4PSS7QSQTOLCEQBHX3MZ4R7AX7X4 X-Message-ID-Hash: 5LNE4PSS7QSQTOLCEQBHX3MZ4R7AX7X4 X-MailFrom: s.shaji@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Removing the SafeArea widget caused the overview header to throw a bottom overflow error. This occurred because the ListTile text did not have enough horizontal space to render, resulting in text wrapping onto multiple lines. To resolve this, wrapped the title block in SafeArea widget. Signed-off-by: Shan Shaji --- lib/widgets/pve_rrd_chart_widget.dart | 32 +++++++++++++++------------ 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/lib/widgets/pve_rrd_chart_widget.dart b/lib/widgets/pve_rrd_chart_widget.dart index 0dc648a..1e71353 100644 --- a/lib/widgets/pve_rrd_chart_widget.dart +++ b/lib/widgets/pve_rrd_chart_widget.dart @@ -60,20 +60,24 @@ class _PveRRDChartState extends State { return Column( crossAxisAlignment: widget.titleAlignment, children: [ - Container( - width: widget.titleWidth, - padding: widget.titlePadding, - child: ListTile( - leading: widget.icon, - title: Text( - widget.title!, - style: TextStyle( - fontSize: 12, color: fgColor, fontWeight: FontWeight.bold), - ), - subtitle: Text( - '${widget.subtitle}', - style: TextStyle( - fontSize: 20, color: fgColor, fontWeight: FontWeight.bold), + SafeArea( + bottom: false, + top: false, + child: Container( + padding: widget.titlePadding, + width: widget.titleWidth, + child: ListTile( + leading: widget.icon, + title: Text( + widget.title!, + style: TextStyle( + fontSize: 12, color: fgColor, fontWeight: FontWeight.bold), + ), + subtitle: Text( + '${widget.subtitle}', + style: TextStyle( + fontSize: 20, color: fgColor, fontWeight: FontWeight.bold), + ), ), ), ), -- 2.50.1