gnucash stable: [balsheet-pnl] ensure the account name cell doesn't wrap

Christopher Lam clam at code.gnucash.org
Tue Sep 2 07:06:10 EDT 2025


Updated	 via  https://github.com/Gnucash/gnucash/commit/ea179831 (commit)
	from  https://github.com/Gnucash/gnucash/commit/49879373 (commit)



commit ea179831a02c0d6cdb256aad270ae8b46134d298
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Sep 2 19:05:01 2025 +0800

    [balsheet-pnl] ensure the account name cell doesn't wrap

diff --git a/gnucash/report/reports/standard/balsheet-pnl.scm b/gnucash/report/reports/standard/balsheet-pnl.scm
index 04806128c1..0e1e42bfa2 100644
--- a/gnucash/report/reports/standard/balsheet-pnl.scm
+++ b/gnucash/report/reports/standard/balsheet-pnl.scm
@@ -361,6 +361,9 @@ also show overall period profit & loss."))
                              (gnc:make-html-table-cell/size
                               1 (if disable-account-indent? 1 (- maxindent indent))
                               label)))
+           ;; ensure the account name cell doesn't wrap
+           (_ (gnc:html-table-cell-set-style! account-cell "text-cell"
+                                              'attribute '("style" "white-space:nowrap;")))
            (row (append
                  (if disable-account-indent?
                      '()



Summary of changes:
 gnucash/report/reports/standard/balsheet-pnl.scm | 3 +++
 1 file changed, 3 insertions(+)



More information about the gnucash-changes mailing list