Skip to content

Commit a6acefe

Browse files
authored
Merge pull request #25371 from QuLogic/tk-spacer
Tk: Fix size of spacers when changing display DPI
2 parents 981e1d1 + a3f4114 commit a6acefe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/backends/_backend_tk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,8 @@ def _rescale(self):
677677
# Text-only button is handled by the font setting instead.
678678
pass
679679
elif isinstance(widget, tk.Frame):
680-
widget.configure(height='22p', pady='1p')
681-
widget.pack_configure(padx='4p')
680+
widget.configure(height='18p')
681+
widget.pack_configure(padx='3p')
682682
elif isinstance(widget, tk.Label):
683683
pass # Text is handled by the font setting instead.
684684
else:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy