flex
March 9, 2023, 3:08pm
1
Hi Everyone!
I am building a tree view using GUI and I want some cells to overflow. Like:
| | | |
etc. But I can’t seem to get cells to not clip:
I found a similar issue but the playground with the solutions does not seem to work:
Thanks for the help and I hope y’all are having a beautiful spring or fall day, wherever you are!
-Flex
1 Like
flex
March 9, 2023, 5:18pm
2
While looking at the docs for GUI I noticed something odd.
There is a demo for turning off clipping. The preview behaves as expected but if you open the playground the control is still clipped:
cc @carolhmj our own GUI Hero
I’ll investigate this asap!
1 Like
Sorry about that, the clipping docs aren’t up to date, there’s the clipContent property that also needs to be set to true: Babylon.js Playground (babylonjs.com)
EDIT: Also updated the docs: Update clipping docs by carolhmj · Pull Request #791 · BabylonJS/Documentation (github.com)
1 Like
flex
March 9, 2023, 8:48pm
8
That fixes the issue for a TextBox in a Rectangle but does not appear to do anything for a TextBox in a Grid.