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
SplitContainer dragger doesn't work in sub-viewport.
Steps to reproduce
set up ViewportContainer - Viewport - HSplitContainer/VSplitContainer (or Use ViewportTexture on TexutreRect/Meshes and viewport.input(event) to forward inputs).
drag SplitContainer's dragger.
will not change size of SplitContainer's children.
SplitContainers in your example can't resize their children just because of the minimum sizes they need to respect. If you'd make these containers bigger you'd be able to drag the children.
Calinou
changed the title
SplitContainer dragger doesn't work in sub-viewport.
SplitContainer dragger does nothing when dragged if the container is too small
Dec 9, 2021
The expected behavior of a splitter is for children to shrink as much as possible and then wrap or get clipped when they won't shrink any more. The children of a splitters containers should have no say in what the splitter can or can't do. The ability to reduce the width should not be blocked outside of the splitters own min_size.x restrictions. Like many others, I now have to roll my own splitter to do what this one should already do.
Godot version
3.4.stable
System information
Windows 10, GLES3
Issue description
SplitContainer dragger doesn't work in sub-viewport.
Steps to reproduce
viewport.input(event)
to forward inputs).Minimal reproduction project
SplitContainerBug.zip
The text was updated successfully, but these errors were encountered: