Tk Library Source Code

View Ticket
Login
Ticket UUID: 520903
Title: ScrolledWindow: 'jumping' wi
Type: Patch Version: None
Submitter: bach Created on: 2002-02-21 10:26:05
Subsystem: bwidget Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-02-25 17:03:07
Resolution: Duplicate Closed By: hobbs
    Closed on: 2003-02-25 10:03:07
Description:
Motivation:
The ScrolledWindow widget has a problem when making it
centered together with automanaged scrollbars: each
time the displayed frame changes its size, the
scrollbars might get gridded for a short time when they
are not needed and consequently ungridded shortly after
that, causing the inner frame to 'jump'.

The following patch addresses this by adding an
-autodelay option. If this is used, the widget will
wait (-autodelay milliseconds) before it calls the
routine the grids/ungrids the scrollbars and will
always use the last values given to it so that multiple
calls to the widget just get 'compressed' to one call,
effectively using the last valid values.

The attached tar contains the diff to the actual head,
the complete new panedw.tcl source and the updated
documentation in case the patch should be accepted.

Effects to existing code:
None. The default is to behave like no -autodelay was
given.

Bugs:
None that I knew of.
User Comments: hobbs added on 2003-02-25 17:03:07:
Logged In: YES 
user_id=72656

See tcllib bug 472718 for new ScrolledWindow 
implementation (for v1.6).

bach added on 2002-02-21 17:26:07:

File Added - 18186: scrollwpatch.tar.gz

Attachments: