I’m afraid I have yet another ‘noob’s question’ for yours, for which I’m unable to find an answer in reasonable time. It should be quite simple though. It works with a slider.
Question is: What is the instruction to make the BABYLON.GUI.ScrollViewer return to the top (displaying the top of my container and controls/text)on my call?
Here is the Context: I have a couple of ‘User Settings’ panels hosting a scrollviewer with a child container and some text and image controls. I use ‘attach/detach’ controls or ‘isVisible’ to handle the behavior of the panels, containers and childrens or simply change the ‘text’ input. All works fine but I’m left with just this issue. I simply need to somehow tell the scrollviewer to ‘reset to its origin position’ I suppose… should be quite simple, no? (here’s a screenshot)!
Anyone to spare me time investigating further on this one… would be highly valued and very much appreciated…Thx in advance,