iOS Question How to set padding ?

tufanv

Expert
Licensed User
Longtime User
Hello,

When I have a background color and right alignment on a text, I need to seperate the text from border a little bit for a good view, but I cant find to set a padding in b4i like b4a. Is it possible to use padding here?
 

Semen Matusovskiy

Well-Known Member
Licensed User
Depends of view (UITextview, UITextField, UILabel etc). If you do not want to use specific methods, you can simply place target view without a border on wider panel with borders.
 
Upvote 0
Top