Title: [110705] trunk/Tools
Revision
110705
Author
[email protected]
Date
2012-03-14 08:42:51 -0700 (Wed, 14 Mar 2012)

Log Message

The width and height of the scroll indicators in the MiniBrowser does not consider the offset margins. https://bugs.webkit.org/show_bug.cgi?id=81112

Reviewed by Kenneth Rohde Christiansen.

This patch fixes the issue by withdrawing two times the anchor
margins.

* MiniBrowser/qt/qml/ScrollIndicator.qml:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (110704 => 110705)


--- trunk/Tools/ChangeLog	2012-03-14 15:37:33 UTC (rev 110704)
+++ trunk/Tools/ChangeLog	2012-03-14 15:42:51 UTC (rev 110705)
@@ -1,3 +1,16 @@
+2012-03-14  Alexander Færøy  <[email protected]>
+
+        The width and height of the scroll indicators in the MiniBrowser does
+        not consider the offset margins.
+        https://bugs.webkit.org/show_bug.cgi?id=81112
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        This patch fixes the issue by withdrawing two times the anchor
+        margins.
+
+        * MiniBrowser/qt/qml/ScrollIndicator.qml:
+
 2012-03-14  Sudarsana Nagineni  <[email protected]>
 
         [EFL] Implement LayoutTestController::clearBackForwardList

Modified: trunk/Tools/MiniBrowser/qt/qml/ScrollIndicator.qml (110704 => 110705)


--- trunk/Tools/MiniBrowser/qt/qml/ScrollIndicator.qml	2012-03-14 15:37:33 UTC (rev 110704)
+++ trunk/Tools/MiniBrowser/qt/qml/ScrollIndicator.qml	2012-03-14 15:42:51 UTC (rev 110705)
@@ -41,8 +41,8 @@
     property bool __movingHorizontally: flickableItem ? flickableItem.movingHorizontally : false
     property bool __movingVertically: flickableItem ? flickableItem.movingVertically : false
 
-    property real __viewWidth:  flickableItem ? flickableItem.width: 0
-    property real __viewHeight:  flickableItem ? flickableItem.height: 0
+    property real __viewWidth:  flickableItem ? flickableItem.width - (anchors.margins * 2) : 0
+    property real __viewHeight:  flickableItem ? flickableItem.height - (anchors.margins * 2) : 0
 
     property int __hideTimeout: 800
     property real __indicatorSize: 5
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to