diff options
author | culler <culler> | 2019-03-17 19:41:04 (GMT) |
---|---|---|
committer | culler <culler> | 2019-03-17 19:41:04 (GMT) |
commit | b29e48c2415674197423a527cef1c8fd5028b8a4 (patch) | |
tree | c6dfa7245e0f8455d41aaa8d3cf566e0a266bb99 /library/demos | |
parent | 2dd62f3b2f103f5c345fa3d92a9112cdf20c60db (diff) | |
download | tk-b29e48c2415674197423a527cef1c8fd5028b8a4.zip tk-b29e48c2415674197423a527cef1c8fd5028b8a4.tar.gz tk-b29e48c2415674197423a527cef1c8fd5028b8a4.tar.bz2 |
Improve the behavior and appearance of BevelButtons.
Diffstat (limited to 'library/demos')
-rw-r--r-- | library/demos/toolbar.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/toolbar.tcl b/library/demos/toolbar.tcl index 0ae4669..cb2a495 100644 --- a/library/demos/toolbar.tcl +++ b/library/demos/toolbar.tcl @@ -31,7 +31,7 @@ ttk::separator $w.sep ttk::frame $t.tearoff -cursor fleur ttk::separator $t.tearoff.to -orient vertical ttk::separator $t.tearoff.to2 -orient vertical -pack $t.tearoff.to -fill y -expand 1 -padx 2 -side left +pack $t.tearoff.to -fill y -expand 1 -padx 4 -side left pack $t.tearoff.to2 -fill y -expand 1 -side left ttk::frame $t.contents grid $t.tearoff $t.contents -sticky nsew @@ -79,7 +79,7 @@ text $w.txt -width 40 -height 10 interp alias {} doInsert {} $w.txt insert end ;# Make bindings easy to write ## Arrange contents -grid $t.button $t.check $t.menu $t.combo -in $t.contents -padx 2 -sticky ns +grid $t.button $t.check $t.menu $t.combo -in $t.contents -padx 2 -pady 4 -sticky ns grid $t -sticky ew grid $w.sep -sticky ew grid $w.msg -sticky ew |