Menu

#2082 Wrong initial scrollbar width

obsolete: 8.4.13
open
5
2006-06-22
2006-06-22
No

The following sample shows a text and a scrollbar with
not default width. The width of the scrollbar is not
updated accordingly before packing = the widgets are
overlapping.

thx, regards,
thomas

#############
package require Tk

toplevel .t
text .t.text
scrollbar .t.scroll -orient vertical -width 11

.t.text configure -yscrollcommand [list .t.scroll set]
.t.scroll configure -command [list .t.text yview]

pack .t.text -fill both -expand yes -side left
pack .t.scroll -fill y -side left
#############

tested on XP

Discussion

  • Donal K. Fellows

    • summary: Missing update event in window manager --> Wrong initial scrollbar width
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2006-07-03

    Logged In: YES
    user_id=72656

    bug confirmed in 8.4.13 on XP

     
  • Nobody/Anonymous

    Logged In: NO

    Any update on this bug, please. We really appreciate it if this bug can be fixed because our tcl/tk base application have a theme, and the scrollbar is not adjusting according to the width during initializing.

     
MongoDB Logo MongoDB