File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2469,7 +2469,8 @@ proc makewindow {} {
24692469 -selectbackground $selectbgcolor \
24702470 -background $bgcolor -bd 0 \
24712471 -xscrollincr $linespc \
2472- -yscrollincr $linespc -yscrollcommand " scrollcanv $cscroll "
2472+ -yscrollincr $linespc -yscrollcommand " scrollcanv $cscroll " \
2473+ -xscrollcommand " .tf.histframe.cxsb set"
24732474 .tf.histframe.pwclist add $canv
24742475 set canv2 .tf.histframe.pwclist.canv2
24752476 canvas $canv2 \
@@ -2487,9 +2488,11 @@ proc makewindow {} {
24872488 .tf.histframe.pwclist sashpos 0 [ lindex $::geometry(pwsash0) 0]
24882489 }
24892490
2490- # a scroll bar to rule them
2491+ # a scroll bar to rule them (vertical), and one for horizontal scroll of left pane
24912492 ttk::scrollbar $cscroll -command {allcanvs yview}
24922493 pack $cscroll -side right -fill y
2494+ ttk::scrollbar .tf.histframe.cxsb -orient horizontal -command " $canv xview"
2495+ pack .tf.histframe.cxsb -side bottom -fill x
24932496 bind .tf.histframe.pwclist <Configure> {resizeclistpanes %W %w}
24942497 lappend bglist $canv $canv2 $canv3
24952498 pack .tf.histframe.pwclist -fill both -expand 1 -side left
You can’t perform that action at this time.
0 commit comments