Re: Restoring a List View's position



Matthew Braid <ptkperl mdb id au> writes:

 $pos = $adj->upper - $adj->page_size       ## Set the top position correctly
    if $pos > $adj->upper - $adj->page_size; # In case the list has shrunk since

I guess $adj->clamp_page is close to that, but doing it after storing
might end up emitting two signals instead of one.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]