Skip to content

Commit

Permalink
Stylesheet: Make match the menu bar and app toolbar background colors
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Oct 28, 2023
1 parent 02906ac commit 8b494c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spyder/utils/stylesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ def _customize_stylesheet(self):
margin='0px'
)

# Set the same color as the one used for the app toolbar
css.QMenuBar.setValues(
backgroundColor=QStylePalette.COLOR_BACKGROUND_4
)

# Remove padding when pressing main menus
css['QMenuBar::item:pressed'].setValues(
padding='0px'
Expand Down

0 comments on commit 8b494c7

Please sign in to comment.