Jump to content

GUI - Control cropped when resized


royibernthal
 Share

Recommended Posts

Small parts of controls are not being rendered when I'm resizing things that depend on idealWidth.

The calculated width and height apparently are smaller than what they should be in order to render everything, or alternatively they are calculated well and the problem is with the actual rendering, or I'm missing something again :)

When you resize the window to be small enough the yellow line at the top disappears. If you resize the window slowly you'll notice the top part of the texture is gradually cropped more and more.

http://www.babylonjs-playground.com/#KU0JCD#2

Link to comment
Share on other sites

Makes sense.

 

What do you think about this? Same issue?

http://www.babylonjs-playground.com/#XCPP9Y#114

 

There's one behavior that so far I was only able to reproduce locally within my project - embedded fonts always look good at the size they appeared at on page load, but when I resize them they start to appear cropped, even when I resize them to be bigger, which doesn't make sense.

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...