Codez_X
(Maidenless)
August 7, 2020, 2:57pm
#1
So i was making a main menu and when I brought up the output a bit up this happened.
I phone6 view
As you can see the button becomes bigger and smaller.
Before it was like this -
I don’t know what happened but here are the properties of the TextButton -
The store button also has the same properties
Also these two buttons have UI corner inside them.
Could this be a bug of UI corner?
You made the output bigger, just make it smaller
3 Likes
Omb2a
(Omb2)
August 7, 2020, 3:00pm
#3
Make Output size less. It take more than half the screen and the main game screen will be smaller.
2 Likes
Devolas
(Devolas)
August 7, 2020, 6:38pm
#4
That is not an error, whenever you change the size of anything on your screen the UI will automatically scale it so that everything fits in the screen. Hope that helped
Have a good day!
Codez_X
(Maidenless)
August 8, 2020, 6:58am
#5
@Devolas @StodiusDev @Omb2a you may have tried to help but this isn’t the problem.
I have edited the post with more images.
Now you can understand that the button’s size become bigger/smaller on each device.
tafzri
(一一一)
August 8, 2020, 7:04am
#6
Try enabling TextScaled in the TextButton.
Codez_X
(Maidenless)
August 8, 2020, 7:10am
#7
My TextScaled
is already enabled.
epochzx
(epoch)
August 8, 2020, 7:15am
#8
Add a “UiAspectRationConstraint” to your primary frame then the children of that frame that have children inside them.
Codez_X
(Maidenless)
August 8, 2020, 7:19am
#9
I noticed that this only occurs when I make my UICorner
’s CornerRadius
to 1,0
Codez_X
(Maidenless)
August 8, 2020, 7:21am
#10
Yep it’s now alright thanks
Have a nice day
Change the property of the Text to ‘TextScaled’.