tufanv Expert Licensed User Longtime User Sep 1, 2021 #1 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?
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 Sep 1, 2021 #2 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
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.
tufanv Expert Licensed User Longtime User Sep 1, 2021 #3 Semen Matusovskiy said: 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. Click to expand... it is uilabel. Upvote 0
Semen Matusovskiy said: 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. Click to expand... it is uilabel.
Semen Matusovskiy Well-Known Member Licensed User Sep 1, 2021 #4 It's possible to subclass DrawTextInRect method, but to place label on panel is more simple. Upvote 1