Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 21eb1e9

Browse filesBrowse files
committed
Change the Qt label vertical alignment to centered.
1 parent 1857fca commit 21eb1e9
Copy full SHA for 21eb1e9

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_qt5.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_qt5.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ def __init__(self, canvas, parent, coordinates=True):
677677
if self.coordinates:
678678
self.locLabel = QtWidgets.QLabel("", self)
679679
self.locLabel.setAlignment(
680-
QtCore.Qt.AlignRight | QtCore.Qt.AlignTop)
680+
QtCore.Qt.AlignRight | QtCore.Qt.AlignVCenter)
681681
self.locLabel.setSizePolicy(
682682
QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
683683
QtWidgets.QSizePolicy.Ignored))

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.