summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-01 20:39:18 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-01 20:39:18 +0200
commit33a54cf6cc1083ab4f9325d261f76d6018c34726 (patch)
treedca2ee9ee466d1f1e1952b58dd872fbdc30c444b /src
parent- Fix default font size to 16 pt (diff)
parentmore aesthetic popups (again) (diff)
downloadrekonq-33a54cf6cc1083ab4f9325d261f76d6018c34726.tar.xz
Merge branch 'POPUS'
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index cebb7454..27ed8e37 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -931,13 +931,18 @@ void MainWindow::notifyMessage(const QString &msg, Rekonq::Notify status)
break;
}
- m_popup->setView(msg);
-
+ m_popup->setFrameShape(QFrame::NoFrame);
+ QLabel *label = new QLabel(msg);
+ m_popup->setLineWidth(0);
+ m_popup->setView(label);
+ m_popup->setFixedSize(0, 0);
+ m_popup->layout()->setAlignment(Qt::AlignTop);
+ m_popup->layout()->setMargin(4);
int h = KGlobalSettings::generalFont().pointSize();
// setting popus in bottom-left position
int x = geometry().x();
- int y = geometry().y() + height() - h*4;
+ int y = geometry().y() + height() - h*3;
QPoint p(x,y);
m_popup->show(p);