UnsavedDocument flag on ImGUI's TabItem adds a Close button

Heyhey,

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 :

imgui-tab

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

Thanks in advance!

2 Likes

Hey

I think this is a missing feature on ImGUI side.

grafik
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.