From 76e877c2b6da8876b58228360f4e838c2ad6d1d4 Mon Sep 17 00:00:00 2001 From: drbob Date: Fri, 13 Jun 2008 19:03:28 +0000 Subject: [PATCH] Fixed the Toaster git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@597 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/toaster/QtToaster.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/toaster/QtToaster.cpp b/retroshare-gui/src/gui/toaster/QtToaster.cpp index bc07b3d35..e4f3babea 100644 --- a/retroshare-gui/src/gui/toaster/QtToaster.cpp +++ b/retroshare-gui/src/gui/toaster/QtToaster.cpp @@ -37,7 +37,7 @@ QtToaster::QtToaster(QWidget * toaster, QFrame * toasterWindowFrame) _toaster = toaster; _toaster->setParent(_toaster->parentWidget(), Qt::ToolTip | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint); - WidgetBackgroundImage::setBackgroundImage(toasterWindowFrame, ":images/toaster/toaster-backrs4.png", WidgetBackgroundImage::AdjustHeight); + WidgetBackgroundImage::setBackgroundImage(toasterWindowFrame, ":images/toaster/toaster-backrs4.png", WidgetBackgroundImage::AdjustSize); _toaster->resize(201, 116); } @@ -56,9 +56,9 @@ void QtToaster::close() { void QtToaster::show() { //10 pixels of margin #if !defined(OS_WINDOWS) - static const int MARGIN_X = 30; + static const int MARGIN_X = 50; #else - static const int MARGIN_X = 10; + static const int MARGIN_X = 30; #endif QDesktopWidget * desktop = QApplication::desktop();