src/gui/widget/textbox.cpp try to fix paint sidebar

Origin commit data
------------------
Commit: c9b5470a47
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-15 (Mon, 15 Aug 2016)
This commit is contained in:
Jacek Jendrzej
2016-08-15 15:49:04 +02:00
parent 9171915e49
commit 95b3a4c88c

View File

@@ -563,7 +563,7 @@ void CTextBox::refreshText(void)
//bg variables
int ax = m_cFrameTextRel.iX+m_cFrame.iX;
int ay = m_cFrameTextRel.iY+m_cFrame.iY;
int dx = m_old_cText != m_cText ? m_cFrameTextRel.iWidth : m_nMaxTextWidth;
int dx = m_old_cText != m_cText || m_nNrOfPages>1 ? m_cFrameTextRel.iWidth : m_nMaxTextWidth;
int dy = m_cFrameTextRel.iHeight;
//find changes