Unwanted tablelist scrolling during cellconfigure



I'm using Csaba Nemethi's tablelist 4.2 widget (on windows) and it's
working nicely except for one small annoyance.

When a row is partially visible under the title row, then when the
-text property of a cell in that row is set using cellconfigure - the
row 'helpfully' jumps into view i.e the textbox scrolls down a touch.

This can can cause some pretty annoying jumping about depending on how
your table is sized and if you want to use the 'see' command when
adding new entries.

I'd really prefer that the table didn't scroll at all unless I
explicitly call the 'see' command, or the user scrolls.

This automatic jumping when data is changed doesn't seem to happen for
other properties such as the cell's background colour.
It also doesn't happen for a partially visible row at the bottom of the
table

Does anyone know a way around this issue?

To reproduce.

#in a wish console:
package require tablelist
tablelist::tablelist .table -columns {0 "title"} -stretch all
pack .table -side top -fill both -expand 1
..table insert end row0
..table insert end row1
..table insert end row2
..table insert end row3
#now use your mouse to stretch the bottom of the toplevel window so
that just the very bottom of the text "row3" is slightly obscured
..table see end
#At this point the very top of "row0" should be obscured
..table cellconfigure 0,0 -text "sometext"
#The above command makes the list jump down a touch to make "sometext"
completely visible - this is what I don't want!
..table see end ;#re-obscure the top of row 0
..table cellconfigure 0,0 -bg yellow
#notice that setting this property doesn't cause the jump.

Cheers,
Julian

.



Relevant Pages

  • What language, compiler, environment and libraries could I use for this?
    ... do an application that treats important amounts of sound information. ... I find the different kind of windows controls too limited to introduce ... I've thought of writing a win32 application that will have a bottom ... I type in the command, in the bottom line, where I have ...
    (comp.programming)
  • Re: Have u seen what happens when u increase the Windows System Year f
    ... computer's BIOS] ... command line "date" function too ... > Have u seen what happens when u increase the Windows System Year from ... > the Windows Clock located on the bottom left corner of the screen and ...
    (microsoft.public.windowsxp.general)
  • cant logon after update
    ... i had the bubble in the bottom left of my computer inform me of new updates i ... usual only to be told the command line was to long for the command or ... no disks to 'repair' or re-install windows.. ...
    (microsoft.public.windowsupdate)
  • Re: computer hangs on GRUB when booting after removing RH linux :(
    ... do you know where I can download it? ... >> I got an error when I ran that command, ... > That command works on Windows 9x or ME. ...
    (comp.os.linux.misc)
  • RE: re-setting boot partition
    ... Description of the Windows 2000 Recovery Console ... For a Microsoft Windows XP version of this article, ... MB of hard disk space on your system partition to hold the Cmdcons folder ... Windows NTBoot Console Command Interpreter. ...
    (microsoft.public.win2000.setup_upgrade)