Dad72 Posted December 3, 2018 Share Posted December 3, 2018 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2018 Share Posted December 3, 2018 Sorry this is me I merged a bad PR! But this should be good now! Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 3, 2018 Author Share Posted December 3, 2018 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted December 3, 2018 Share Posted December 3, 2018 ok yeah..will fix that as well Quote Link to comment Share on other sites More sharing options...
Guest Posted December 4, 2018 Share Posted December 4, 2018 Fixed! Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 4, 2018 Author Share Posted December 4, 2018 Thank you Deltakosh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.