Fix #3432
This commit is contained in:
parent
84d99ac690
commit
adaaeb0e8e
@ -61,12 +61,14 @@ void BubbleWidget::add()
|
|||||||
m_element->setTabStop(true);
|
m_element->setTabStop(true);
|
||||||
|
|
||||||
m_element->setNotClipped(true);
|
m_element->setNotClipped(true);
|
||||||
irrwidget->setDrawBorder(true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void BubbleWidget::replaceText()
|
void BubbleWidget::replaceText()
|
||||||
{
|
{
|
||||||
IGUIStaticText* irrwidget = (IGUIStaticText*) m_element;
|
IGUIStaticText* irrwidget = (IGUIStaticText*) m_element;
|
||||||
|
// Take border into account for line breaking (happens in setText)
|
||||||
|
irrwidget->setDrawBorder(true);
|
||||||
|
|
||||||
stringw message = getText();
|
stringw message = getText();
|
||||||
|
|
||||||
EGUI_ALIGNMENT align = EGUIA_UPPERLEFT;
|
EGUI_ALIGNMENT align = EGUIA_UPPERLEFT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user