Closed coldsobolev closed 4 months ago
Thanks for noting (indeed!), and thanks for your fix. I'll leave the issue open until the next release with the fix in it.
For the moment the increase/decrease buttons only work for the Fusion theme. The other themes only scale the GUI, but not the font, probably due to CSS overrides of the font in the theme (ignoring the font-size settings by the Qt setFont function).
it doesn't seem as straightforward as you described. on a setup of mine with kvantum as the default theme, scaling works out of the box, even for other themes like windows and fusion, once i switch to organic, scaling no longer works for any of the themes even after switching back to them
That's because the Organic them overlays everything with CSS definitions. Which in turn is because Qt doesn't provide a way to change drawn icons (like the tree unfold arrows) using pure method calls. The last commit (9e993c08) changed the zoom control to a slider now (for optics), and slightly changed the calls: the buttons are now scaled when creating the objects, and the tree view tabs are scaled indiviually. Changing the zoom also forces a re-draw of the data area. This fixes it (at least on my setup :) ). Also changed: To be consistent with other text and spread sheet processors, only the data view scales, while the main UI buttons stay the same.
thx for the fix, works on my machine as well. smooth slider btw. closing issue.
it frequently occurs that someone is unable to read the content of the main window when someone is sharing their screen or something. there has to be a button that rescales the whole UI.