stackunderflow
stackunderflow

Reputation: 9

Storyboard Button: change font size AND round corners

How can we change the font size AND round corners of a button on a storyboard?

Button of style "gray" has a default value of rounded corners. That is good. But style "gray" DOES NOT change font size.

I mean font size does not change even if you change the value of the size on the storyboard. More correctly it changes its preview on the storyboard, but it runs without the change of font size on a real iPhone.

It is weird that the real phone view and preview on the storyboard differ, which indicates that it is a bug?

Google search says that sytle "default" is necessary to change font size. And it does even on the real iPhone. But the round corners now disappear!

Is there any way to accomplish these two properties at the same time in a storyboard?

Thank you very much! Have a nice day :)

My environment: iPhone 6s.
iOS 15.8.3.
Xcode 14.0.

Upvotes: -1

Views: 43

Answers (0)

Related Questions