mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
CComponentsText: add possibility to set a text border
Origin commit data
------------------
Commit: 96da2f95b8
Author: FlatTV <FlatTV@gmx.de>
Date: 2013-06-06 (Thu, 06 Jun 2013)
Origin message was:
------------------
- CComponentsText: add possibility to set a text border
This commit is contained in:
@@ -353,8 +353,8 @@ void CTextBox::refreshTextLineArray(void)
|
||||
lineBreakWidth = std::max(m_nMaxWidth, m_cFrameTextRel.iWidth - 2*text_border_width);
|
||||
}
|
||||
|
||||
if(m_nMaxTextWidth)
|
||||
lineBreakWidth = m_nMaxTextWidth;
|
||||
if(m_nMaxTextWidth)
|
||||
lineBreakWidth = m_nMaxTextWidth - 2*text_border_width;
|
||||
|
||||
//TRACE("[CTextBox] line %d: lineBreakWidth %d\n", __LINE__, lineBreakWidth);
|
||||
|
||||
|
Reference in New Issue
Block a user