NRA 12 Report post Posted December 4, 2018 Hi, I use the Scroll Viewer element since last week and since yesterday it was having a trouble you can see in its proper sample https://www.babylonjs-playground.com/#13CF95 Thanks Quote Share this post Link to post Share on other sites
Dad72 916 Report post Posted December 4, 2018 Works here: https://www.babylonjs-playground.com/#13CF95#4 addToWindow has been renamed with addControl to match the other elements Quote Share this post Link to post Share on other sites
NRA 12 Report post Posted December 5, 2018 @Dad72, This way its do not work with scroll bars? Quote Share this post Link to post Share on other sites
NRA 12 Report post Posted December 5, 2018 @Dad72, This are the correct sample https://www.babylonjs-playground.com/#3EF49E because I am using the "Adding an Adjustable TextBlock Window (Special Case)" Quote Share this post Link to post Share on other sites
Dad72 916 Report post Posted December 5, 2018 addToWindow has been renamed with addControl to match the other elements . But it seems that every letter goes to the line. This is the same problem that I had to report yesterday on the button, but that seems to be also on the scrollView PG with addControl : https://www.babylonjs-playground.com/#3EF49E#6 Quote Share this post Link to post Share on other sites
Deltakosh 4315 Report post Posted December 5, 2018 It is actually working https://www.babylonjs-playground.com/#3EF49E#7 The textWrapping was wrong (and you have to set the text to resizeToFit to actually use the scroll space) Also for some reasons text width and height was set 1 Dad72 reacted to this Quote Share this post Link to post Share on other sites
Dad72 916 Report post Posted December 5, 2018 In fact the documentation is not up to date to take into account the changes for the scrollView All the PGs of this page have this problem. I saw that it is fix, but not yet send in the documentation site. Quote Share this post Link to post Share on other sites
Deltakosh 4315 Report post Posted December 5, 2018 yes working on it Quote Share this post Link to post Share on other sites