Size of active vs non-active toolbar buttons
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole
(if console-related) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
There is a small width change between active and non-active toolbar buttons:
What steps reproduce the problem?
- Open a file
- Make some edits and note the moving toolbar buttons to the right of the save button
What is the expected output? What do you see instead?
Same width
Versions
- Spyder version: 4.0.0.dev0
- Python version: 3.7.3
- Qt version: 5.9.6
- PyQt version: 5.9.2
- Operating System name/version: Windows 10
Dependencies
pygments >=2.0 : 2.4.2 (OK)
qdarkstyle >=2.6.4: 2.7 (OK)
sphinx >=0.6.6 : 2.1.0 (OK)
pyls >=0.27.0 : 0.27.0 (OK)
nbconvert >=4.0 : 5.5.0 (OK)
pandas >=0.13.1 : 0.24.2 (OK)
numpy >=1.7 : 1.16.4 (OK)
sympy >=0.7.3 : 1.4 (OK)
cython >=0.21 : 0.29.10 (OK)
qtconsole >=4.5.0 : 4.5.1 (OK)
IPython >=4.0 : 7.5.0 (OK)
matplotlib >=2.0.0: 3.1.0 (OK)
pylint >=0.25 : 2.3.1 (OK)
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Button UX Design: Best Practices, Types and States
Inactive State There are two possibility — either hide a button or show it in disabled state. Arguments for hiding the button: Clarity....
Read more >Toolbars - Menus and actions - Human Interface Guidelines
A toolbar provides convenient access to frequently used commands and controls that perform actions relevant to the current view.
Read more >Buttons - Components - Material Design
Flat buttons are text-only buttons. They may be used in dialogs, toolbars, or inline. They do not lift, but fill with color on...
Read more >Toolbar - Win32 apps | Microsoft Learn
A toolbar is a control that contains one or more buttons. Each button, when clicked by a user, sends a command message to...
Read more >General Options - RO Writer
Select the image to use as the toolbar button. The image file can be any of the following types: .ICO, .JPG, or .BMP....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll open an issue. (I guess one just needs to add a bit of spacing to disabled QToolButton.)
Ok, thanks @jnsebgosselin for your help.
@oscargus, could you reopen this issue in
https://github.com/ColinDuquesnoy/QDarkStyleSheet
? Thanks!