In a 2021 comment for Make the tabs columns resizable: ResizableTreeView #1306, @SNoiraud suggests a minor tweak for the Themes addon to make it emit a signal if the Font changes.
Unfortunately, real-life responsibilities for new-grampa @prculley mean that this tweak isn’t likely to be added. How can his Themes addon avoid losing this excellent suggestion?
SNoiraud:
If we change the font or the font size in the Themes plugin, the column width is adapted to this change.@prculley For this to work, we need to add one line in the themes.py module.
In the font_changed method, add the following line:
self.uistate.emit('font-changed')
I tested this and it works perfectly.