summaryrefslogtreecommitdiffstats
path: root/library/demos/paned2.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/paned2.tcl')
-rw-r--r--library/demos/paned2.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/paned2.tcl b/library/demos/paned2.tcl
index c549249..73af21d 100644
--- a/library/demos/paned2.tcl
+++ b/library/demos/paned2.tcl
@@ -25,7 +25,7 @@ pack $btns -side bottom -fill x
# Create the pane itself
panedwindow $w.pane -orient vertical
-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
# The top window is a listbox with scrollbar
set paneList {
@@ -71,4 +71,4 @@ grid rowconfigure $f 0 -weight 1
$f.text insert 1.0 "This is just a normal text widget"
# Now add our contents to the paned window
-$w.pane add $w.pane.top $w.pane.bottom
+$w.pane add $w.pane.top $w.pane.bottom -stretch always