Hello,

urlbar painter draw text centered... But, on netbooks, you don't see text 
start...

Here a patch fixing the issue by:
- Only center verticaly
- Add tooltip to show complete message

Regards

-- 
Cédric Bellegarde
Ensat
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index 06d281e..feac903 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -90,6 +90,9 @@ UrlBar::UrlBar(QWidget *parent)
     // insert decoded URLs
     setUrlDropsEnabled(true);
 
+    // tooltip
+    setToolTip(i18n("Start typing here to search your bookmarks, history and the web..."));
+
     // accept focus, via tabbing, clicking & wheeling
     setFocusPolicy(Qt::WheelFocus);
 
@@ -194,7 +197,7 @@ void UrlBar::paintEvent(QPaintEvent *event)
         QPainter painter(this);
         painter.setPen(Qt::gray);
         painter.drawText(textRect,
-                         Qt::AlignCenter,
+                         Qt::AlignVCenter,
                          i18n("Start typing here to search your bookmarks, history and the web...")
                         );
     }
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq

Reply via email to