Ok you were completely clear, thanks again for the attention you dedicated to solving my issue. I will think of a way to handle everything based on your statements
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

dialogBox->setPosition("parent.width / 4", 0);
I even read it but just didn't notice the 0... ok everything seems to work now, thanks again.
dialogBox->setPosition("parent.width / 4", "parent.top");dialogBox->setPosition(bindWidth(mDialogInterface) / 4.f, bindTop(mDialogInterface));
/*! constructor inside a class that handles a text based interface */
mDialogInterface = std::make_shared<tgui::Panel>();
mDialogInterface->setPosition(0, mWindow->getSize().y / 4.f * 3.f);
mDialogInterface->setSize(mWindow->getSize().x, mWindow->getSize().y / 4.f);
mDialogInterface->setBackgroundColor(sf::Color::Red);
auto dialogBox = std::make_shared<tgui::TextBox>();
dialogBox->setText("hello there!");
dialogBox->setSize("parent.width / 4 * 3", "parent.height");
dialogBox->setPosition("parent.left", "parent.top");
mDialogInterface->add(dialogBox, "dialog");
/*! function that handles drawing (from the same class) */
void *::handleDrawing()
{
... //draw other stuff using views
mWindow->setView(mWindow->getDefaultView());
mWindow->draw(*mDialogInterface);
}
dialogBox->setPosition("parent.left", "parent.top");dialogBox->setPosition("parent.width / 4", "parent.top");dialogBox->setPosition("parent.left + 1", "parent.top");
).
have a good day.