You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the first child in a group(horizontal=True) is hidden, the group continues the previous line of widgets instead of starting a new line, as it normally would.
Normally, the first child in the group starts a new line; however, when it's hidden, its draw() method does nothing, and a subsequent call to to ImGui::SameLine() places the rest of widgets on the previous line.
To Reproduce
Steps to reproduce the behavior:
Create an arbitrary widget.
Create a group with horizontal=True and fill it with children.
Hide the first child.
Check the group position on the screen.
Expected behavior
The group should always start a new line unless it itself has been placed into a horizontal group.
Screenshots/Video
Current behavior. There are three horizontal groups, each containing text '12' and text '34'. In the second group, '12' is hidden.
Expected behavior:
Standalone, minimal, complete and verifiable example
Version of Dear PyGui
Version: 1.8.0
Operating System: Windows 10
My Issue/Question
When the first child in a
group(horizontal=True)
is hidden, the group continues the previous line of widgets instead of starting a new line, as it normally would.Normally, the first child in the group starts a new line; however, when it's hidden, its
draw()
method does nothing, and a subsequent call to toImGui::SameLine()
places the rest of widgets on the previous line.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The group should always start a new line unless it itself has been placed into a horizontal group.
Screenshots/Video
Current behavior. There are three horizontal groups, each containing text '12' and text '34'. In the second group, '12' is hidden.
Expected behavior:
Standalone, minimal, complete and verifiable example
The text was updated successfully, but these errors were encountered: