I'm kinda struggling with moving around UI elements to better fit my new UI graphics I'm making. I understand the concepts, but I'm not real sure what I'm doing wrong.
In the UI JSON files (playing with the LoginWindow for now, as it's simple yet a little more complex than just a window), I see the 5 things i need to edit to move things around, though for the input boxes for Username and Password, im struggling.
Â
"Bounds": "x, y, x2, y2",
"Padding": "x, y, x2, y2",
"AlignmentEdgeDistances": "x, y, x2, y2",
"AlignmentTransform": "x, y",
"Margin": "x, y, x2, y2",
As far as i can tell:
Bounds is the "worldspace" for the component(if the component resides outside of these bounds, it is inoperable and not visible)
Padding is pixel spacing off the walls of the bounds
I dont understand what te others are for, as, imo, all you need is the first two.
Â
My problem, is that when I go to move the Username Input Box using the bounds, it stretches. When i *try* to move it using padding, i get literally nothing.
Can someone please elaborate how they are able to move their components so seemingly with ease?
Question
Lunam
I'm kinda struggling with moving around UI elements to better fit my new UI graphics I'm making. I understand the concepts, but I'm not real sure what I'm doing wrong.
In the UI JSON files (playing with the LoginWindow for now, as it's simple yet a little more complex than just a window), I see the 5 things i need to edit to move things around, though for the input boxes for Username and Password, im struggling.
Â
As far as i can tell:
Bounds is the "worldspace" for the component(if the component resides outside of these bounds, it is inoperable and not visible)
Padding is pixel spacing off the walls of the bounds
I dont understand what te others are for, as, imo, all you need is the first two.
Â
My problem, is that when I go to move the Username Input Box using the bounds, it stretches. When i *try* to move it using padding, i get literally nothing.
Can someone please elaborate how they are able to move their components so seemingly with ease?
Link to comment
Share on other sites
2 answers to this question
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