The documentation in https://doc.babylonjs.com/how_to/gui#stackpanel says isVertical default to false, but the code for StackPanel actually defaults it to true
Edit: I should add that it’s unclear which should change, the Panel code or the docs. See comments below.
I don’t mind. One question is “which change”. Poking around, StackPanel3D defaults to false, and virtually every complex element (colorpicker, keyboard, things that combine a label with a control, etc) make the StackPanel they create horizontal.
At the very least, I’d think StackPanel and StackPanel3D should be the same!