summaryrefslogtreecommitdiffstats
path: root/library/dialog.tcl
diff options
context:
space:
mode:
authorcsaba <csaba>2022-12-13 20:21:48 (GMT)
committercsaba <csaba>2022-12-13 20:21:48 (GMT)
commit7c648ddea8ef6b5354ba8d8a2122542ec693a84e (patch)
treee9d651a284d3959abff225891c6f238db982ab7b /library/dialog.tcl
parent150a83952e37d0495bcb7665023bd711ae260fe2 (diff)
downloadtk-7c648ddea8ef6b5354ba8d8a2122542ec693a84e.zip
tk-7c648ddea8ef6b5354ba8d8a2122542ec693a84e.tar.gz
tk-7c648ddea8ef6b5354ba8d8a2122542ec693a84e.tar.bz2
More scaling in common dialogs
Diffstat (limited to 'library/dialog.tcl')
-rw-r--r--library/dialog.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/dialog.tcl b/library/dialog.tcl
index ffbd8e4..8bf4e59 100644
--- a/library/dialog.tcl
+++ b/library/dialog.tcl
@@ -109,7 +109,7 @@ proc ::tk_dialog {w title text bitmap default args} {
$w.button$i configure -default normal
}
grid $w.button$i -in $w.bot -column $i -row 0 -sticky ew \
- -padx 10 -pady 4
+ -padx [::tk::ScaleNum 10] -pady [::tk::ScaleNum 4]
grid columnconfigure $w.bot $i
# We boost the size of some Mac buttons for l&f
if {$windowingsystem eq "aqua"} {
@@ -117,7 +117,7 @@ proc ::tk_dialog {w title text bitmap default args} {
if {$tmp eq "ok" || $tmp eq "cancel"} {
grid columnconfigure $w.bot $i -minsize 90
}
- grid configure $w.button$i -pady 7
+ grid configure $w.button$i -pady [::tk::ScaleNum 7]
}
incr i
}