summaryrefslogtreecommitdiffstats
path: root/library/demos/paned1.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/paned1.tcl')
-rw-r--r--library/demos/paned1.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/paned1.tcl b/library/demos/paned1.tcl
index 6b21d35..829988a 100644
--- a/library/demos/paned1.tcl
+++ b/library/demos/paned1.tcl
@@ -24,9 +24,9 @@ set btns [addSeeDismiss $w.buttons $w]
pack $btns -side bottom -fill x
panedwindow $w.pane
-pack $w.pane -side top -expand yes -fill both -pady 2 -padx 2m
+pack $w.pane -side top -expand yes -fill both -pady 1.5p -padx 2m
label $w.pane.left -text "This is the\nleft side" -fg black -bg yellow
label $w.pane.right -text "This is the\nright side" -fg black -bg cyan
-$w.pane add $w.pane.left $w.pane.right
+$w.pane add $w.pane.left $w.pane.right -stretch always