Jump to content

GUI Bug ParentElement


Dad72
 Share

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

 

Link to comment
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...