LuaGuiElement :: x_anchor and y_anchor
Posted: Sun Dec 22, 2019 10:23 pm
I'm not sure if this is possible, but I would like to request it anyways. Since we can't read element width/height, the only way to "anchor" a frame to anywhere besides the top-left of the screen is to hardcode the possible heights and widths. This is, obviously, not very flexible, and is a pain to work with.
I would like to request that an x_anchor and y_anchor properties be given to LuaGuiElements. This property would do different things depending on the element. For example, with a frame, it would be the corner that is used to define location. For flows, it would define the order of elements that were put in. For example, setting a horizontal flow's X anchor to right would make the flow go from right-to-left instead of left-to-right.
Once again, I'm not sure if this is even possible with AGUI, but I figured I'd ask anyway. Thanks for your time!
I would like to request that an x_anchor and y_anchor properties be given to LuaGuiElements. This property would do different things depending on the element. For example, with a frame, it would be the corner that is used to define location. For flows, it would define the order of elements that were put in. For example, setting a horizontal flow's X anchor to right would make the flow go from right-to-left instead of left-to-right.
Once again, I'm not sure if this is even possible with AGUI, but I figured I'd ask anyway. Thanks for your time!