r16557 by jghali - #9909: text frame contents do not adjust when resizing with Align and Distribute

scribus-commit scribus-commit at lists.scribus.net
Thu Apr 7 23:53:23 CEST 2011


Author: jghali
Date: Thu Apr  7 21:53:22 2011
New Revision: 16557

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16557
Log:
#9909: text frame contents do not adjust when resizing with Align and Distribute

Modified:
    branches/Version135/Scribus/scribus/scribusdoc.cpp

Modified: branches/Version135/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16557&path=/branches/Version135/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/scribusdoc.cpp (original)
+++ branches/Version135/Scribus/scribus/scribusdoc.cpp Thu Apr  7 21:53:22 2011
@@ -8057,7 +8057,10 @@
 	changed();
 	m_ScMW->HaveNewSel(m_Selection->itemAt(0)->itemType());
 	for (int i = 0; i < m_Selection->count(); ++i)
+	{
 		setRedrawBounding(m_Selection->itemAt(i));
+		m_Selection->itemAt(i)->invalidateLayout();
+	}
 	m_alignTransaction->commit(); // commit and send the action to the UndoManager
 	delete m_alignTransaction;
 	m_alignTransaction = NULL;




More information about the scribus-commit mailing list