Skip to content

Commit

Permalink
ShortcutsSummary: Take titles in account for calculate amount of shor…
Browse files Browse the repository at this point in the history
…tcuts in each column.
  • Loading branch information
rlaverde committed May 10, 2017
1 parent eda8cfc commit 01a0510
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spyder/widgets/shortcutssummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ def __init__(self, parent=None):
group_layout = QGridLayout()
group.setLayout(group_layout)

# Count space for titles
added_shortcuts += 1

# Widgets
label_name = QLabel(name.capitalize().replace('_', ' '))
label_name.setFont(font_names)
Expand Down

0 comments on commit 01a0510

Please sign in to comment.