royibernthal Posted June 5, 2017 Share Posted June 5, 2017 What do you think about making StackPanel children also be affected by idealWidth the way they are in a normal container? StackPanel - The StackPanel itself is affected by idealWidth, but it seems its children are not. http://www.babylonjs-playground.com/#XCPP9Y#62 Container - Both the container and its children are affected by idealWidth, hence the result looks good. http://www.babylonjs-playground.com/#XCPP9Y#64 I'm guessing the problem is ignoreAdaptiveScaling is set to false in some cases which prevents the behavior I'm trying to achieve? It'll take me some time to learn BABYLON.GUI source before I can start doing proper PRs, until then it'd be great to hear your thoughts on this Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 7, 2017 Share Posted June 7, 2017 I would say that it SHOULD already work i added an issue to track it: https://github.com/BabylonJS/Babylon.js/issues/2248 royibernthal 1 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.