Title: [110575] trunk/Tools
Revision
110575
Author
[email protected]
Date
2012-03-13 09:33:37 -0700 (Tue, 13 Mar 2012)

Log Message

[Qt] Tweak minibrowser UI

Add some margins to the scroll indicators, and set a dark background
color so you see the page dimensions.

Reviewed by Antonio Gomes.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (110574 => 110575)


--- trunk/Tools/ChangeLog	2012-03-13 16:11:17 UTC (rev 110574)
+++ trunk/Tools/ChangeLog	2012-03-13 16:33:37 UTC (rev 110575)
@@ -1,3 +1,15 @@
+2012-03-13  Tor Arne Vestbø  <[email protected]>
+
+        [Qt] Tweak minibrowser UI
+
+        Add some margins to the scroll indicators, and set a dark background
+        color so you see the page dimensions.
+
+        Reviewed by Antonio Gomes.
+
+        * MiniBrowser/qt/qml/BrowserWindow.qml:
+        * MiniBrowser/qt/qml/ScrollIndicator.qml:
+
 2012-03-13  ChangSeok Oh  <[email protected]>
 
         [EFL] [DRT] Implement scheduleAsynchronousKeyDown.

Modified: trunk/Tools/MiniBrowser/qt/qml/BrowserWindow.qml (110574 => 110575)


--- trunk/Tools/MiniBrowser/qt/qml/BrowserWindow.qml	2012-03-13 16:11:17 UTC (rev 110574)
+++ trunk/Tools/MiniBrowser/qt/qml/BrowserWindow.qml	2012-03-13 16:33:37 UTC (rev 110575)
@@ -34,6 +34,7 @@
     // Do not define anchors or an initial size here! This would mess up with QSGView::SizeRootObjectToView.
 
     property alias webview: webView
+    color: "#333"
 
     signal pageTitleChanged(string title)
     signal newWindow(string url)

Modified: trunk/Tools/MiniBrowser/qt/qml/ScrollIndicator.qml (110574 => 110575)


--- trunk/Tools/MiniBrowser/qt/qml/ScrollIndicator.qml	2012-03-13 16:11:17 UTC (rev 110574)
+++ trunk/Tools/MiniBrowser/qt/qml/ScrollIndicator.qml	2012-03-13 16:33:37 UTC (rev 110575)
@@ -31,7 +31,10 @@
     id: root
     z: 1
 
-    anchors.fill: parent
+    anchors {
+        fill: parent
+        margins: 5
+    }
 
     property Flickable flickableItem
 
@@ -58,7 +61,7 @@
             radius: 10
             color: "black"
             border.color: "gray"
-            border.width: 2
+            border.width: 1
             opacity: 0.5
             smooth: true
 
@@ -104,7 +107,7 @@
             radius: 10
             color: "black"
             border.color: "gray"
-            border.width: 2
+            border.width: 1
             opacity: 0.5
             smooth: true;
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to