We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UILargeButton has a function RefreshLocationBasedOnAnchor that makes it look nice when anchored.
Unfortunately, that's only implemented for Bottom_Right, Middle_Center, Bottom_Center, Top_Center.
simulated function RefreshLocationBasedOnAnchor() { switch( anchor ) { case class'UIUtilities'.const.ANCHOR_BOTTOM_RIGHT: SetPosition(-Width - 12 + OffsetX, -Height - 12 + OffsetY); // giving it a little breathing space to edge of screen, aligned with shortcut hud. break; case class'UIUtilities'.const.ANCHOR_MIDDLE_CENTER: SetPosition(-Width * 0.5 + OffsetX, -Height * 0.5 + OffsetY); break; case class'UIUtilities'.const.ANCHOR_BOTTOM_CENTER: SetPosition(-Width * 0.5 + OffsetX, -Height + OffsetY); break; case class'UIUtilities'.const.ANCHOR_TOP_CENTER: SetPosition(-Width * 0.5 + OffsetX, OffsetY); break; } if(bHideUntilRealized) Show(); }
It should be expanded for every anchor.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
UILargeButton has a function RefreshLocationBasedOnAnchor that makes it look nice when anchored.
Unfortunately, that's only implemented for Bottom_Right, Middle_Center, Bottom_Center, Top_Center.
It should be expanded for every anchor.
The text was updated successfully, but these errors were encountered: