[haiku-webkit-commits] r343 - webkit/trunk/WebKit/haiku/WebPositive

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Tue, 23 Mar 2010 13:17:03 +0000

Author: stippi
Date: Tue Mar 23 13:17:03 2010
New Revision: 343
URL: http://mmlr.dyndns.org/changeset/343

Log:
Adjust the steps of the downloads window scrollbar.

Modified:
   webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp

Modified: webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp    Tue Mar 23 
13:06:33 2010        (r342)
+++ webkit/trunk/WebKit/haiku/WebPositive/DownloadWindow.cpp    Tue Mar 23 
13:17:03 2010        (r343)
@@ -435,6 +435,11 @@
                scrollBar->MoveBy(1, -1);
                scrollBar->ResizeBy(0, 2);
                Target()->ResizeBy(1, 0);
+               // Set the scroll steps
+               if (BView* item = Target()->ChildAt(0)) {
+                       scrollBar->SetSteps(item->MinSize().height + 1,
+                               item->MinSize().height + 1);
+               }
        }
 };
 

Other related posts:

  • » [haiku-webkit-commits] r343 - webkit/trunk/WebKit/haiku/WebPositive - webkit