On Sun, 2008-02-10 at 18:22 -0500, Scott Peterson wrote: > > Why do we need the + 1? The Math.Ceiling should take care of rounding > > the number up for any partial rows. > > The bottom row in view in my ListView was not rendering. This fixed > it. If there's another way to ensure that all rows always render, I'm > all for it. It might be a good idea to put this in a comment near the magical "+ 1". These kind of terms nearly always need an explanation. -- Ruben Vermeersch (rubenv) http://www.savanne.be
Attachment:
signature.asc
Description: This is a digitally signed message part