Scaling Panel's Text Size???

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Post Reply
asciiman
Level 2
Level 2
Posts: 91
Joined: Sun Sep 15, 2013 10:24 pm

Scaling Panel's Text Size???

Post by asciiman »

LM Cinnamon 19.1 upgraded from 19.0.

The upgrade seemed to go well, but upon logging into Cinnamon, I noticed that my custom config of the panel looked wrong.
Specifically, in LM 18.x and 19.0, I set the panel icons and text to scale to the panel size.
However, while the new panel control allows for icons to scale to size, there seems to be no provision for the panel text to do the same.

So I have nice large icons and tiny little text in my panel, lol.
Can anyone advise me on this one?
Did I miss something?

Thanks,
Allen
User avatar
kyphi
Level 9
Level 9
Posts: 2703
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Scaling Panel's Text Size???

Post by kyphi »

Have a look in System Settings, Font Selection, Text scaling factor. Increase it to 1.3 or more.
Linux Mint 20.0 Cinnamon - 64bit
asciiman
Level 2
Level 2
Posts: 91
Joined: Sun Sep 15, 2013 10:24 pm

Re: Scaling Panel's Text Size???

Post by asciiman »

Yes, but that control you mention is a universal control. That is to say, it scales all text by the ratio the user sets.
I am looking for something (as it was I think since LM 17.3) that controls text and icon scaling specifically in the panel.
Here is a screen shot of the Panel Control from LM 18.1 that allows both icons AND text to scale with the height of the panel.

Thanks for your reply just the same!

:D
Attachments
Text_and_Icon_Scaling.png
User avatar
smurphos
Level 17
Level 17
Posts: 7332
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Scaling Panel's Text Size???

Post by smurphos »

The failure of the label font size to change with panel size is a side effect of the panel revamp allowing icon sizing to be fully user controlled in Cinnamon 4.

I understand allowing the same for labels is on the cards for Cinnamon 4.2 (I think the intention is to make all of the font characteristics currently set in cinnamon.css user controlled which is another big change so I guess didn't make it to 4.0 for lack of time).

https://github.com/linuxmint/Roadmap#linux-mint-192

In the meantime it's a case of editing your theme's cinnamon.css if the theme set label font sizes look really out of place for your personal panel set up.

If you can confirm what theme you are using I can point you in the right direction.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
User avatar
Valsodar
Level 4
Level 4
Posts: 228
Joined: Thu Jul 19, 2018 11:30 pm
Location: Sofia, Bulgaria
Contact:

Re: Scaling Panel's Text Size???

Post by Valsodar »

smurphos wrote:
Wed Mar 06, 2019 3:13 am
editing your theme's cinnamon.css
What the OP described is just one of the reasons I'm still using 18.3. I tried everything I could find including what you said - editing cinnamon.css - and it didn't work. Restarting Cinnamon didn't make it work either.
If they really wanna give us full control of the customization, they should give us another option which when ON the panel icons and text labels are system sized exactly like on 18.3 and when OFF the user can manually enter sizes.
And they also should add vertical centering for text and icons on the panel in 19.x. cuz both are way off in that version of Mint.
AsRock B85M Pro4, Core i7-4770, Palit GTX 1050 Ti 4GB, Corsair CX750 PSU, Corsair 32GB DDR3-1600, Corsair Force LE 120GB, 2xSSD = 610 GB, 1xHDD = 1TB, Waterfox-Current, (rolling) Arch Cinnamon
asciiman
Level 2
Level 2
Posts: 91
Joined: Sun Sep 15, 2013 10:24 pm

Re: Scaling Panel's Text Size???

Post by asciiman »

smurphos wrote:
Wed Mar 06, 2019 3:13 am
The failure of the label font size to change with panel size is a side effect of the panel revamp allowing icon sizing to be fully user controlled in Cinnamon 4.

I understand allowing the same for labels is on the cards for Cinnamon 4.2 (I think the intention is to make all of the font characteristics currently set in cinnamon.css user controlled which is another big change so I guess didn't make it to 4.0 for lack of time).

https://github.com/linuxmint/Roadmap#linux-mint-192

In the meantime it's a case of editing your theme's cinnamon.css if the theme set label font sizes look really out of place for your personal panel set up.

If you can confirm what theme you are using I can point you in the right direction.

Ok, thanks, that is good to know. I just wondered if I was missing some new and separate control in 19.1.
On a 16 x 9 24 inch desktop monitor, that standard height of the Cinnamon panel is too thin for my eyes.
But in 19.1 text labels for the time/calendar, weather applet, etc are all too small when setting the panel height where I need it.
Renders the "customize" feature useless for me.
I'm plenty happy still using 18.x or 19.0 for now.
User avatar
kyphi
Level 9
Level 9
Posts: 2703
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: Scaling Panel's Text Size???

Post by kyphi »

asciiman wrote:
Tue Mar 05, 2019 10:37 pm
Yes, but that control you mention is a universal control. That is to say, it scales all text by the ratio the user sets.
That is not so, for example browsers and email have their own mechanisms to adjust text size or can respond to Ctrl/+.

Like many users, I found the text in the panel far too small and using the Font Selection options, I increased the font size to 12 and the scaling factor to 1.3. Now everything is easily read (and I am using the Cinnamox-Kashmir-Blue theme).

The increased scaling factor and font size adjustment affects the panel text, the main menu, nemo and the header of some opened programs.
Linux Mint 20.0 Cinnamon - 64bit
asciiman
Level 2
Level 2
Posts: 91
Joined: Sun Sep 15, 2013 10:24 pm

Re: Scaling Panel's Text Size???

Post by asciiman »

OK thanks! I will give that a whirl!!
:)
User avatar
smurphos
Level 17
Level 17
Posts: 7332
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Scaling Panel's Text Size???

Post by smurphos »

Anyone wanting to try the editing the themes cinnamon.css to amend label font-sizes the classes to either add a font-size declaration e.g. something like font-size: 15px; or font-size: 1.2em;, or amend an existing one to are normally these. Some themes may need a few other tweaks.

.applet-label {}

.window-list-item-box {} or .window-list-box {}

.grouped-window-list-item-box {}

For Mint-Y you may need to remove this section which causes a vertical offset if you change the font size

Code: Select all

.applet-box StLabel {
    padding-top: 2px; }
If you are editing a stock theme I recommend copying the full theme from /usr/share/themes to ~/.themes before editing. Restart Cinnamon Ctrl-Alt-Esc to test edits.

I'm not convinced that font-scaling is the way to go - not all Cinnamon themes scale well.

It changes the text size of the content of a lot of applications (text editors etc) - I suppose setting the desktop font sizes below your comfort level resolution and scaling up is a possibility...
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Post Reply

Return to “Cinnamon”