v0.5.6 - FlxMenu custom page positioning #22
john32b
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
par()
function to quickly set Page Parametersstl()
function to quickly set Style OverridesMPage custom positioning
You can now set some positioning properties to a
MPageData
object in thePAR
fieldRelative Positioning: Alter the x,y coordinates of a page in relation to the root FlxMenu position
Absolute Positioning: Set fixed x,y coordinates of a page
Screen Align: Align the menu to the edges or center of the screen
Checkout
<MPageData.hx>
for info in commentsALSO, You can now set PageParameters quicker with the
MPageData.par(..)
method. So you can chain a menu creation and setting parameter in one chain.e.g.
Beta Was this translation helpful? Give feedback.
All reactions