D11135: [WIP] Scale font while zooming
Henrik Fehlauer
noreply at phabricator.kde.org
Tue Mar 13 01:01:41 GMT 2018
rkflx added a comment.
In D11135#224260 <https://phabricator.kde.org/D11135#224260>, @ngraham wrote:
> In D11135#221495 <https://phabricator.kde.org/D11135#221495>, @rkflx wrote:
>
> > If I configure a size for text and another size for icons, I want to get exactly that, and not something different. (Also note that if Use common properties for all folders is selected, the slider and the config entry for the default icon size are linked together.)
>
>
> Then you'd better go complain to Plasma and QQC2-desktop-style and Kirigami, because they all use a `Heading` control that essentially does exactly what this patch adds to Dolphin: provides a text label whose font size is some multiplier of the size you actually chose. It is commonly used for non-headings, as its smallest size "5" is equal to the size you set. 4 is a little bigger, 3 is a bit bigger, and so on, until you get to 1, which is an actual header-sized text label.
>
> The point here is to allow standardized font sizes to be played with according to the designer's intent. Sometimes a slightly larger text size looks better in some situations. That's really all it is.
The different sizes you talk about conceptually correspond to the different static sizes users can set in the fonts KCM (e.g. title, normal text, small text etc.), only that they follow a more modern approach with sizing, rooted in desktop publishing and web design. There's nothing wrong with that.
What tickled me was the proposal to dynamically bind the font size to a zoom slider controlling the icon size. That's not something I've seen elsewhere so far, not even in Kirigami apps.
REPOSITORY
R318 Dolphin
REVISION DETAIL
https://phabricator.kde.org/D11135
To: rominf, #dolphin, ngraham
Cc: cfeck, rkflx, ngraham, #dolphin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180313/d8620368/attachment.htm>
More information about the kfm-devel
mailing list