Le vendredi 20 novembre 2009 01:47:23, vous avez écrit :
>  I won't merge the one about Toolbar changes for one simple 
> reason: we are not sure what we want for toolbar(s).
> 

Ok, no problem with that, will make a simpler patch with a QToolButton to make 
just backward button with text along side as it's just what i need  and post 
it on kdelook for people that may be interested.

So, a new patch that just fix the size of bookmarks toolbar, favicons are 16x16 
icons and with rekonq 0.3, icons are scaled and ugly.

fixUrlBarSize.diff is needed i think, because current urlbar in rekonq have a 
non standard size.

Thanks for your great browser ;)

Cédric
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 7a9e3ad..9dea9d8 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -195,6 +195,7 @@ void MainWindow::setupToolbars()
     m_bmBar->setContextMenuPolicy(Qt::CustomContextMenu);
     m_bmBar->setFloatable(false);
     m_bmBar->setMovable(false);
+    m_bmBar->setIconDimensions(16);
 
     Application::bookmarkProvider()->setupBookmarkBar(m_bmBar);
 }
diff --git a/src/urlbar.cpp b/src/urlbar.cpp
index d2ab66d..dbcafd4 100644
--- a/src/urlbar.cpp
+++ b/src/urlbar.cpp
@@ -61,7 +61,7 @@ UrlBar::UrlBar(QWidget *parent)
     setAutoDeleteCompletionObject(true);
 
     //cosmetic
-    setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
+    setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
     setMinimumWidth(180);
     
     setTrapReturnKey(true);
@@ -338,4 +338,4 @@ void UrlBar::keyPressEvent(QKeyEvent *event)
     }
 
     KHistoryComboBox::keyPressEvent(event);
-}
\ No newline at end of file
+}
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq

Reply via email to