Apparently Tab was not tested with a custom text size. It should work when you remove the setTextSize call.
I'll see if I can find where it goes wrong in my code.
I'll see if I can find where it goes wrong in my code.
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 MenuQuoteI saw that if the edit boxes are added to a panel, these inherit the enabled / disabled state of the panel.This is only partly true. Technically they don't inherit it so if you check whether the edit box is enabled or disabled it will still report that it is enabled even though the panel to which it was added is disabled. But all events travel from parent to parent (gui -> panel -> edit box) so when the panel is disabled no events will reach the edit box.
QuoteI saw that you can make a class that inherits the EditBox and add a methodCreating a custom widget that inherits from EditBox is one way to solve the problem, however the tutorial for custom widgets is not written yet and there are a few small catches so this may not be so easy.
void disablePanel(tgui::Panel::Ptr panel)
{
panel->disable();
for (auto& widget : panel->getWidgets())
{
if (widget->getWidgetType() == "editbox")
std::static_pointer_cast<tgui::EditBox>(widget)->getRenderer()->setTextColor(color);
}
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @brief Button widget
///
/// Signals:
/// - Pressed (the button was pressed)
/// * Optional parameter sf::String: Caption of the button
/// * Uses Callback member 'text'
///
/// - Inherited signals from ClickableWidget
///
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
class TGUI_API Button : public ClickableWidget
QuoteShould i post this new feature request somewhere so you can keep track of it when you next look at doing a new version?No, it has already been added to my private todo list (actually just some random notes in a text file instead of a useful list, which is why it isn't public).

message(STATUS "SFML_INCLUDE_DIR: ${SFML_INCLUDE_DIR}")m_pWidget->bindCallbackEx(&WidgetBase::f_callback, this, 4095);