Is there a way to increase the font size globally via qt settings ? or just the torrent list ?
Since you mentioned everything, maybe increase OS dpi scale? It's what i did.
+1 for font selection for the entire gui
I tested it by setting the "Size of all items" in windows 8.1 display setting and this is how it looks without restarting windows (there was a message saying that it may be that for some apps a restart is required):

The problem is that it is a Global setting and and there is only one hideous workaround around this: To overwrite this setting for all other apps individually , and no setting to only apply this for one app.
I doubt we can do it. Unless qt (our GUI framework) allows for such a setting in an app-wide sense.
@glassez @Chocobo1 @ngosang ideas? Maybe QApplication::setFont() or applying CSS style?
I doubt we can do it. Unless qt (our GUI framework) allows for such a setting in an app-wide sense.
Don't try to change the font size for the whole GUI, just let OS handle it via DPI scaling. (otherwise it's just bloating the code)
Increase font size of torrent list
IMO it's reasonable to do so, if users find the default text too small for them.
Currently it's fine for me though...
it's reasonable to do so, if users find the default text too small for them.
As an option, of course. Not everyone needs it.
Of course as an option not as something hardcoded.
From my understanding using the OS's DPI setting may be undesirable. It will ALL applications bigger, but the user probably has a problem with the transferlist, not other applications.
Font size is fine for me but you can add this as an optional feature. Btw, I don't know how to implement this.
What valid values can be here?
I think we should not allow to enter custom size here. Maybe only a few predefined values? For example, normal and enlarged.
I think we should not allow to enter custom size here. Maybe only a few predefined values? For example, normal and enlarged.
We could take a hint on what Windows does for DPI. It allows some value between 100% and 200%(IIRC). Regardless, of this I think we should hardcode only the max available value, and let the user customise inbetween. Because what is "large" for me and you it could be gigantic for others.
I did some tests and came to the conclusion that I can do it (quickly if necessary), but under one condition: someone else implements the UI to change the size (I don't like that because of a lack of design talent).
It allows some value between 100% and 200%
I agree with this. I think this will be enough. You can use some slider in Options dialog to change this value from 100% to 200%.
I can do it on top of you PR. Make the core code changes, and I'll plug it in the UI
If suitable, it's better to use QFontDialog.
If suitable, it's better to use QFontDialog.
I think this is unnecessary, since we want to change only the size and only within certain limits.
@sledgehammer999 ?
Using a very different font will break the native look&feel.
Using a very different font will break the native look&feel.
If that is the user choice... (no further comments on this)
It all comes down to how customizable you want it to be...
Another question... It only needs to TransferListWidget?
@glassez I think it would be nice for the setting to have a global effect .
I am also curious if the text in the app is tiny before any fix on retina displays or small 4k tvs.
@glassez I think it would be nice for the setting to have a global effect .
AFAIK we can't do that in qt5. If we apply an application-wide CSS style for fonts size it will probably everything. Plus, I am not fond of a global option.
HiDPI scaling works very well for qt(especially qt5). The users have reported problems only with the icons. But I don't have a HiDPI display to troubleshoot.
PR #6196 implements this.
I find the GUI font size to be too small and detrimental to my eyes because of my myopia.
(I'm fine with the font size of other programs, don't need global scaling.)
Whether it's themes support or just changing font size in the Options dialog,
this would be a plus for User Experience.
Really important feature. Interface doesn't scale well for 1080 resolution or more. As a result it's harmful to the eye and looks outdated.
We still need it very much...
Please!!!
@jagannatharjun, is it possible to customize fonts using custom UI theme?

you can read more about creating themes here
https://github.com/qbittorrent/qBittorrent/wiki/Create-custom-themes-for-qBittorrent (Hi @FranciscoPombal I've updated wiki with latest version, mind taking a read)
So I suppose it's resolved.
@jagannatharjun
(Hi @FranciscoPombal I've updated wiki with latest version, mind taking a read)
Looks good, but I saw this:
and
config.jsonwhich currently only manages GUI colors.
It seems it can now handle at least font sizes as well, so that probably needs adjustments.
(also closing the issue as it is resolved - there now is a way to change font size, via custom themes)
It seems it can now handle at least font sizes as well, so that probably needs adjustments
No font size can only be changed using stylesheet, it just like css, but you can't change some qbittorrent colors which are applied on some context based like transfer list row color or log colors, thats why config.json is introduced
It seems it can now handle at least font sizes as well, so that probably needs adjustments
No font size can only be changed using stylesheet, it just like css, but you can't change some qbittorrent colors which are applied on some context based like transfer list row color or log colors, thats why config.json is introduced
Yeah I wasn't paying enough attention and thought the file edited in https://github.com/qbittorrent/qBittorrent/issues/4011#issuecomment-629593203 was json.
Most helpful comment
Really important feature. Interface doesn't scale well for 1080 resolution or more. As a result it's harmful to the eye and looks outdated.