spyder icon indicating copy to clipboard operation
spyder copied to clipboard

Change icon size to em

Open steff456 opened this issue 3 years ago • 30 comments

The icons in big screens are not resized as expected making them to be too small for the toolbar

image

steff456 avatar Apr 05 '21 23:04 steff456

I have the same problem.

mIgLLL avatar Apr 06 '21 15:04 mIgLLL

What's your screen resolution @mIgLLL?

ccordoba12 avatar Apr 06 '21 16:04 ccordoba12

It seems we need to do this to solve the bug: https://stackoverflow.com/questions/55842276/how-to-resize-or-scale-a-qicon

ccordoba12 avatar Apr 06 '21 16:04 ccordoba12

What's your screen resolution @mIgLLL?

I don't have solution so I roll back to 4.2.3, and I am just reporting this bug. LOL

mIgLLL avatar Apr 06 '21 22:04 mIgLLL

What's your screen resolution @mIgLLL?

I don't have solution so I roll back to 4.2.3, and I am just reporting this bug. LOL

哥,意思是问你的屏幕分辨率是多少,并不是问你解决方法是什么。。。

leavor avatar Apr 07 '21 03:04 leavor

What's your screen resolution @mIgLLL?

3840x2160

mIgLLL avatar Apr 07 '21 05:04 mIgLLL

What's your screen resolution @mIgLLL?

I don't have solution so I roll back to 4.2.3, and I am just reporting this bug. LOL

哥,意思是问你的屏幕分辨率是多少,并不是问你解决方法是什么。。。

谢了

mIgLLL avatar Apr 07 '21 05:04 mIgLLL

image

dovsay avatar Apr 07 '21 08:04 dovsay

Thanks @leavor for your help and @mIgLLL for your answer!

ccordoba12 avatar Apr 07 '21 16:04 ccordoba12

Same problem here. Enable auto high DPI scaling option is not working for me.

mrkwjc avatar Apr 08 '21 20:04 mrkwjc

Same problem here. Enable auto high DPI scaling option is not working for me.

Me too :<

Aegis1863 avatar Apr 09 '21 02:04 Aegis1863

Me too :<

Me three. Same issue; changing the DPI doesn't do anything.

ccaprani avatar Apr 09 '21 13:04 ccaprani

same here. DPI scaling did the trick on 4.x, but not anymore

green-slowmoe avatar Apr 16 '21 12:04 green-slowmoe

So why do you move the milestone from 5.0.2 all to 5.1.1? Is there any way for us to solve this problem like changing a setup file?

Firestar-Reimu avatar Jul 29 '21 16:07 Firestar-Reimu

So why do you move the milestone from 5.0.2 all to 5.1.1?

Because we didn't have time to implement this for previous versions.

Is there any way for us to solve this problem like changing a setup file?

No, there isn't, sorry.

ccordoba12 avatar Jul 29 '21 22:07 ccordoba12

I found a temporary solution for this:

Screenshot_20210922_121536

set it to 1.0, it will restart but nothing changed, so:
close the console, then open the console and start spyder

This method will make the icons fit the words, but the buttons are still E X T R E M E L Y L A R G E.

Version: Spyder 5.0.5, Python 3.9.5, Qt 5.9.7

Firestar-Reimu avatar Sep 22 '21 04:09 Firestar-Reimu

What happens if instead you select the Enable auto high DPI scaling option instead?

ccordoba12 avatar Sep 23 '21 16:09 ccordoba12

What happens if instead you select the Enable auto high DPI scaling option instead?

It returns to the wrong display: Screenshot_20210924_101233

Firestar-Reimu avatar Sep 24 '21 02:09 Firestar-Reimu

Ok, what if you adjust the scaling factor to be 1.125?

ccordoba12 avatar Sep 24 '21 02:09 ccordoba12

It will be sized to 112.5%, both icon and text, also for any scaling factor > 1.0

Firestar-Reimu avatar Sep 24 '21 02:09 Firestar-Reimu

I know, but that could help to fix the scaling issues with buttons.

ccordoba12 avatar Sep 24 '21 02:09 ccordoba12

It seems we need to do this to solve the bug: https://stackoverflow.com/questions/55842276/how-to-resize-or-scale-a-qicon

So you cannot change the iconSize property of QToolBar?

Firestar-Reimu avatar Nov 29 '21 08:11 Firestar-Reimu

It is possible, but we haven't had time to take a look at that, sorry.

ccordoba12 avatar Dec 01 '21 03:12 ccordoba12

Hi,

Will the resizing of the icons in Spyder 5.1.5 ever be addressed? I was able to resize once, but it's reverted back to such tiny letter it's impossible to read the icons unless I use a jeweler's loupe. Just ridiculous.

Thanks

MelvaMud avatar Jun 06 '22 04:06 MelvaMud

Today test on 5.3.1: Screenshot_20220606_132507

Firestar-Reimu avatar Jun 06 '22 07:06 Firestar-Reimu

Hi, 5.4.2 with current Linux Tumbleweed on a 16" display with 3840x2400: Custom scale factor: 1.2 grafik Best result with QT_AUTO_SCREEN_SCALE_FACTOR=1, but still wastes a lot of space around the icons: grafik

frispete avatar Feb 26 '23 13:02 frispete

but still wastes a lot of space around the icons

it seems to be a feature

Firestar-Reimu avatar Feb 26 '23 14:02 Firestar-Reimu

Yes, it is feature to comply with accessibility standards: buttons need to have a minimal size in order to be accesible, and that's the size we're using in Spyder.

ccordoba12 avatar Feb 27 '23 20:02 ccordoba12

I fixed this somehow but then I installed a new driver and it's back to having huge icon and menu text and no setting change will fix it. I tried installing the newest version 5.4.3, it did not fix.

Is there a solution in the pipeline yet?

BYUJason avatar Dec 09 '23 03:12 BYUJason

I think this will be fixed in Spyder 6 because we switch from setting buttons' size in ems to pixels.

ccordoba12 avatar Dec 10 '23 17:12 ccordoba12