public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Shan Shaji <s.shaji@proxmox.com>
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	[thread overview]
Message-ID: <20261023114036.70719-3-s.shaji@proxmox.com> (raw)
In-Reply-To: <20261023114036.70719-1-s.shaji@proxmox.com>

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 <s.shaji@proxmox.com>
---
 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<PveRRDChart> {
     return Column(
       crossAxisAlignment: widget.titleAlignment,
       children: <Widget>[
-        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





  parent reply	other threads:[~2026-10-23 11:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-23 11:40 [PATCH pve_flutter_frontend 0/3] fix: ui: clipping of ui elements in iPhone duo Shan Shaji
2026-10-23 11:40 ` [PATCH pve_flutter_frontend 1/3] fix: ui being inconsistent in overview pages Shan Shaji
2026-10-23 11:40 ` Shan Shaji [this message]
2026-10-23 11:40 ` [PATCH pve_flutter_frontend 3/3] cleanup: run dart format Shan Shaji

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=20261023114036.70719-3-s.shaji@proxmox.com \
    --to=s.shaji@proxmox.com \
    --cc=pve-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 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