r16556 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:52:59 CEST 2011
Author: jghali
Date: Thu Apr 7 21:52:58 2011
New Revision: 16556
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16556
Log:
#9909: text frame contents do not adjust when resizing with Align and Distribute
Modified:
trunk/Scribus/scribus/scribusdoc.cpp
Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16556&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Thu Apr 7 21:52:58 2011
@@ -9538,7 +9538,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