question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Size of active vs non-active toolbar buttons

See original GitHub issue

Issue 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 (or pip, 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:

sizechange

What steps reproduce the problem?

  1. Open a file
  2. 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:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
oscarguscommented, Jul 11, 2019

I’ll open an issue. (I guess one just needs to add a bit of spacing to disabled QToolButton.)

0reactions
ccordoba12commented, Jul 11, 2019

Ok, thanks @jnsebgosselin for your help.

@oscargus, could you reopen this issue in

https://github.com/ColinDuquesnoy/QDarkStyleSheet

? Thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found