Jump to content

Incorrect Y position for custom options in server sandbox option menu


omiyomy

Recommended Posts

When a large amount of custom sandbox options are added by a mod, it's possible for some of the sandbox option controls and labels to fail to set their Y position correctly:

image.png.542d0c3e7ff7b21c26df92a3de6b489d.png

 

This occurs because the labels and controls created in `ISServerSandboxOptionsUI:createPanel` do not have `keepOnScreen` set and have no parent at the time `setY` is called (see logic in `ISUIElement:setY`). The Y is being inappropriately limited to the screen size.

Edited by omiyomy
clarification
Link to comment
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
×
×
  • Create New...