summaryrefslogtreecommitdiff
path: root/src/rekonqpage
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2010-01-31 11:28:31 +0100
committermatgic78 <matgic78@gmail.com>2010-02-06 11:22:47 +0100
commit40a13302af46792cb139d59d7f66e12b46644392 (patch)
treee8f430abf9e724d766eca0930d140cb9aa7d8824 /src/rekonqpage
parentbugfix : previews were sometimes saved using the good size (diff)
downloadrekonq-40a13302af46792cb139d59d7f66e12b46644392.tar.xz
Last bugs : layout fixes and empty urlbar when going back to homepage
Diffstat (limited to 'src/rekonqpage')
-rw-r--r--src/rekonqpage/previewselectorbar.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rekonqpage/previewselectorbar.cpp b/src/rekonqpage/previewselectorbar.cpp
index 00950526..e7800f09 100644
--- a/src/rekonqpage/previewselectorbar.cpp
+++ b/src/rekonqpage/previewselectorbar.cpp
@@ -59,15 +59,17 @@ void PreviewSelectorBar::setup()
connect(closeButton, SIGNAL(clicked(bool)), SLOT(hide()));
m_button = new QPushButton(KIcon("insert-image"), i18n("Set to this page"), this);
+ m_button->setMaximumWidth(250);
connect(m_button, SIGNAL(clicked(bool)), SLOT(clicked()));
// layout
QHBoxLayout *layout = new QHBoxLayout(this);
layout->addWidget(closeButton);
- layout->addStretch();
layout->addWidget(m_label);
layout->addWidget(m_button);
+ layout->setContentsMargins(2, 0, 2, 0);
+
setLayout(layout);
}