UnsavedDocument flag on ImGUI's TabItem adds a Close button


Not sure if this is an ImGUI limitation or an actual bug. When setting the UnsavedDocument flag on a TabItem, the tab automagically gets a Close button, even if Has Close Button is set to false.

See this repro gif :


I’d love to use this flag for GammaLauncher, sadly this button could be clicked by mistake.

Thanks in advance!



I think this is a missing feature on ImGUI side.

connecting this to the Is Visible input pin ensures that the Tab is always visible. However, the close button for sure is distracting, even if it has no effect.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.