r15391 by craig - #9293: Also check if a palette is off to the left of the screen

scribus-commit scribus-commit at lists.scribus.net
Fri Jul 30 23:26:30 CEST 2010


Author: craig
Date: Fri Jul 30 21:26:29 2010
New Revision: 15391

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15391
Log:
#9293: Also check if a palette is off to the left of the screen

Modified:
    trunk/Scribus/scribus/ui/scrpalettebase.cpp

Modified: trunk/Scribus/scribus/ui/scrpalettebase.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15391&path=/trunk/Scribus/scribus/ui/scrpalettebase.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/scrpalettebase.cpp (original)
+++ trunk/Scribus/scribus/ui/scrpalettebase.cpp Fri Jul 30 21:26:29 2010
@@ -194,6 +194,8 @@
 			vtop    = qMax(-vheight + gStrut.height(), vtop);
 #endif
 			// Check values against current screen size
+			if ( vleft <= scr.left() )
+				vleft = scr.left();
 			if ( vleft >= scr.right() )
 				vleft = scr.left();
 			if ( vtop >= scr.bottom() )




More information about the scribus-commit mailing list