Shane Nelson

Results 6 comments of Shane Nelson

How were you able to make the text inside of the label have a cushion around it? my label shrinks to the size of the text and ends up looking...

@adamsrosco I figured it out, my solution was to create a class that gives CGFloat4 points of cushion around the whole text. that was the easiest way I personally found.

@yarodevuci Sorry, i was on my phone and tried to summarize it. `class InsetLabel: UILabel { let topInset = CGFloat(4) let bottomInset = CGFloat(4) let leftInset = CGFloat(8) let rightInset...

@yarodevuci I used a xib as well, when I used the xib I still encountered this problem so by doing what i listed above I fixed the issue.

@yarodevuci I made the class of the Xib insetLabel if that's what you mean.

@yarodevuci https://github.com/Smnelson13/NotSoCleverBot.git