Oh, when I wrote minimal code I found that all works perfectly 0_o It seems that I made a mistake somewhere else in my code. Sorry for false alarm
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
// sf::Text justText;
justText.setString("sf::Text HELLO");
justText.setFont(font);
justText.setCharacterSize(18);
justText.setStyle(sf::Text::Style::Regular);
justText.setPosition(50, Game::windowHeight/2);
tgui::Label::Ptr label = theme->load("label");
label->setText(" tgui::Label HELLO");
label->setFont(font);
label->setTextSize(18);
label->setPosition(((justText.getGlobalBounds().width + 50) / Game::windowWidth) * 1000 + 3, 510);
Game::gui.add(label);