Re: [ncqgm/gnumed] UI: odd column widths patches (PR #11)
Karsten Hilbert <[email protected]> Thu, 15 Jan 2026 17:28:21 +0100
| Newsgroups | gmane.comp.gnu.medical.devel |
|---|---|
| Message-ID | <[email protected]> |
Hola Maria, thanks for pointing out the need/desire to better control column widths in lists. I had opted for the current behaviour (column can be narrower than the header) because that suited my needs better on restrained displays. I do understand others might opt for the other way round. I have added support for a config file option: # Here you can define the minimum width policy for all lists. # # If this option is set to 'header' list columns will not grow # narrower than the column header. Anything other setting # allows columns to shrink below the header width if the # widest column content is narrower than the header. #list column minimum width policy =3D header That way, your behaviour can be obtained by setting this option to "header" while any other setting (including not setting it) will retain the legacy behaviour. You have also added explicit column widths setting in some places. I would ask you to go over your patch and submit a revised pull request for that explicit column widths setting if still necessary with the improved default code when the new option is set to "header". Thanks for working on this ! Karsten =2D-=20 GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B