The-any-Key Posted November 4, 2019 Share Posted November 4, 2019 (edited) When you set the position (SetPosition) of a text or button. It always alight (for me at least) from the center of the text and button. Is it possible to change alignment or move the pivot point? So it calc the new position from the left side of a text or button? I tested with: require "constants" ... function MyRecipePopup:Refresh() self.name:SetHAlign(ANCHOR_LEFT) ... So my guess SetHAlign is more for the widget anchour in the container rather than the text alignment. Edited November 4, 2019 by The-any-Key Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now