mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- textbox: fix box width in round corners mode
This commit is contained in:
@@ -587,7 +587,7 @@ void CTextBox::refreshText(void)
|
|||||||
//bg variables
|
//bg variables
|
||||||
int ax = m_cFrameTextRel.iX+m_cFrame.iX;
|
int ax = m_cFrameTextRel.iX+m_cFrame.iX;
|
||||||
int ay = m_cFrameTextRel.iY+m_cFrame.iY;
|
int ay = m_cFrameTextRel.iY+m_cFrame.iY;
|
||||||
int dx = m_old_cText != m_cText || m_nNrOfPages>1 ? m_cFrameTextRel.iWidth : m_nMaxTextWidth;
|
int dx = m_old_cText != m_cText || m_nNrOfPages>1 ? m_cFrameTextRel.iWidth : m_nMaxTextWidth - m_nBgRadius;
|
||||||
int dy = m_cFrameTextRel.iHeight;
|
int dy = m_cFrameTextRel.iHeight;
|
||||||
|
|
||||||
//avoid artefacts in transparent cornes
|
//avoid artefacts in transparent cornes
|
||||||
|
Reference in New Issue
Block a user