float height = m_text.getFont()->getLineSpacing(m_text.getCharacterSize()) / 2.f;
m_rect.setSize({ m_rect.getSize().x, m_text.getLocalBounds().height + height});
window.draw(m_text); window,draw(m_rect);
when the text has letters it looks fine
(http://i.imgur.com/qxYTGoz.png)
but when the text is just like "..." the rectangle's height is shorter than it should be
(http://i.imgur.com/jJeyzff.png)
how can i solve this issue?