[RFC] Workaround for broken message index row heights
Albrecht Dreß <[email protected]> Wed, 15 Jul 2020 14:40:25 +0200
| Newsgroups | gmane.comp.gnome.apps.balsa |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I /think/ I finally found a workaround for the sometimes broken display of the row heights in the balsa message index, apparently caused by GtkTreeView's automatic calculation being confused by rows being printed in bold and/or italics. For testing, I created the branch “index_row_height_workaround” in which the cell renderer heights are forced to the maximum of 1.25 times the standard font height and the status icon heights. Drawback: if the standard font is changed in the global settings, the required row height is re-calculated only after a restart of Balsa, which IMHO is acceptable. For me, this *completely* fixes the issue, but some more testing with different themes and Gtk versions would be really helpful. Best, Albrecht. _______________________________________________ balsa-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAl8O+TkACgkQTKlvDmfn 2fhbaAf/fBMlfmmzEFTd3WCQNBjwbTbXN4kelK8ZNDoHVcktEEUuDHjrTX/qoDbS Cn5iWuPwnY666UZHZ/7FXoqTh/QUGBkCaeR83Qreqq7hxrG4R4uI6Egaj5V4cKeA /2oRitcbeX7jOwnILTnRgy2Y1FUC8FEVtKvwts+NUK73KJ9L0125zrnvvu8udAOw jbks3yYFaOaNVZGteGAf0MiFW+FRqXfNldE3nS0Lu+a7rHK1eXtKjHob5TPB9oJZ JjZnd2IyLBIo8yVTBOSIglCiBzaNmhgI/X+f2HB7G4wMtYKqIccTrnfi99l1s8Vs 4lkx+IQ9T8AoQy7TcW2a5Z+qOP12aQ== =kMEl -----END PGP SIGNATURE-----