Spyder: Minimize icon is out of center

Created on 19 Jun 2019  路  7Comments  路  Source: spyder-ide/spyder

Issue Report Checklist

Problem Description

In outline and profile

Screenshot Linux 2019-06-19 14 53 06

Screenshot Linux 2019-06-19 14 51 32

What is the expected output? What do you see instead?

Expected to be at the center.

Versions

  • Spyder 4.0.0.dev0 (Commit: 1a079fc93)
  • Python 3.6.8 64-bit
  • Qt 5.12.3
  • PyQt5 5.12.2
  • Linux 4.15.0-52-generic
  • QdarkStyle Develop (Commit: 18ef745e2674)

Dependencies

pygments >=2.0 : 2.4.2 (OK)
qdarkstyle >=2.6.4 : 2.8 (OK)
sphinx >=0.6.6 : 2.0.1 (OK)
psutil >=0.3 : 5.6.2 (OK)
pyls >=0.19.0;<0.25: 0.24.0 (OK)
nbconvert >=4.0 : 5.5.0 (OK)
pandas >=0.13.1 : None (NOK)
numpy >=1.7 : 1.16.4 (OK)
sympy >=0.7.3 : None (NOK)
cython >=0.21 : None (NOK)
qtconsole >=4.5.0 : 4.5.1 (OK)
IPython >=4.0 : 7.5.0 (OK)
matplotlib >=2.0.0 : None (NOK)
pylint >=0.25 : 2.3.1 (OK)

Ui Enhancement

Most helpful comment

Here is my favorite icon selection for this in the light and dark mode. I used the mdi icons for the collapse and expand selection as well to match the icons of the collapse and expand all buttons.

image

All 7 comments

icons-image-out-off-center

How can this be fixed? Is this not an issue that should go in QDarkstyle?

Oh, may changing the icon file or something like this issue/PR: #2504. This is not related to QDark because the image is not from there. Note that only that icon is unaligned. Tks

Ok, thanks for the clarification!

Instead of using the spyder.inward icon for this button, maybe using an icon from fas or mdi could be an option to solve this issue? Here are some options:

image

Here is my favorite icon selection for this in the light and dark mode. I used the mdi icons for the collapse and expand selection as well to match the icons of the collapse and expand all buttons.

image

I used the mdi icons for the collapse and expand selection as well to match the icons of the collapse and expand all buttons.

I like this solution a lot. Thanks for looking into it!

Was this page helpful?
0 / 5 - 0 ratings