I’m not sure if this is a bug, or if I’m just doing this wrong, but it looks like a bug.
I have some GUI components and I wanted to create a scrolling text box.
I created a stencil and added the text node as a child.
It appears to clip will upon launch. But I’ve also written code to allow the user to drag the dialog (my hierarchy of GUI nodes) using the mouse.
After the dialog is dragged, the text is no longer clipped properly.
As you can see, the first 5 characters are not clipped at all, the next 5 are (incorrectly) clipped, while the last three are correctly clipped (these last three show where the supper bound of the stencil should be).
I’ve read a few other posts were people were having trouble with stencils and text nodes, I’m wondering if this is also a known problem.