Sign in to follow this  
Dad72

GUI Bug ParentElement

Recommended Posts

On my project the buttons (BABYLON.GUI.Button.CreateSimpleButton(null, "Fixer cette vue");) do not show the text totally. I am forced to point to any GUI element so that the text of the button is completely displayed.  It is possible that this problem is not on that the buttons. But if a text has more than one word, every word goes to the line.

The button text that this gets is "cette" instead of "Fixer cette vue".

https://www.babylonjs-playground.com/#3VMTI9#21

Move the mouse over the button (cursorHover) and this is normal text ("Fixer cette vue") . Repeat play and another parentElement error happens

After when I go on the playground I get this error cannot read property 'parentElement' of undefined

 

Share this post


Link to post
Share on other sites

yes for parentElement

But GUI still has the same problem: Look at the text of the button. every word is at the line. Point the mouse on the button, the text puts it correctly after.

https://www.babylonjs-playground.com/#3VMTI9#21

All demos GUI.Button do this:

 https://www.babylonjs-playground.com/#XCPP9Y#3

https://www.babylonjs-playground.com/#PLTRBV

https://www.babylonjs-playground.com/#XCPP9Y#4

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.