Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Margin Width in Localization #159

Open
Rj707 opened this issue Jun 21, 2019 · 3 comments
Open

Margin Width in Localization #159

Rj707 opened this issue Jun 21, 2019 · 3 comments

Comments

@Rj707
Copy link

Rj707 commented Jun 21, 2019

Margin Width in Localization isn't working. I am using for my RTL App, and its showing no space between image and label even if I set a greater value for marginwidth

@mahmuuud
Copy link

mahmuuud commented Sep 2, 2019

Try to add insets for the button title from right and left along with the margin width ,it worked perfectly for me.

@naveedmcs
Copy link

Try to add insets for the button title from right and left along with the margin width ,it worked perfectly for me.

i have tried , but its not working

@yoni-g
Copy link

yoni-g commented Jan 18, 2021

@nvdmcs @mahmuuud
I've managed to do a workaround by adding this:

checkButton.titleEdgeInsets = UIEdgeInsets(top: 0,left: 0,bottom: 0,right: 10)

And it's working fine:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants