banshee r3200 - in trunk/banshee: . src/Core/Hyena.Gui/Hyena.Data.Gui/ListView



Author: scottp
Date: Sun Feb 10 14:39:10 2008
New Revision: 3200
URL: http://svn.gnome.org/viewvc/banshee?rev=3200&view=rev

Log:
* src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs:
  Assures that all rows in view are rendered.

Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs

Modified: trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs
==============================================================================
--- trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs	(original)
+++ trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Windowing.cs	Sun Feb 10 14:39:10 2008
@@ -272,7 +272,7 @@
         }
         
         private int RowsInView {
-            get { return (int) Math.Ceiling (list_alloc.Height / (double) RowHeight); }
+            get { return (int) Math.Ceiling (list_alloc.Height / (double) RowHeight) + 1; }
         }
     }
 }



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