ActionButton icon indicating copy to clipboard operation
ActionButton copied to clipboard

not able to align the action button in center of the page

Open vamshimoonraft opened this issue 10 years ago • 1 comments

Hello sir ...Am not able to change the code so that the main action button to be aligned in the center for all the universal devices ... Can you help me with the changes that need to be done

vamshimoonraft avatar Dec 21 '15 17:12 vamshimoonraft

Hi @vamshimoonraft! I won't be able to code right now, but you can make a fork from ActionButton and change the function installConstraints () inside de ActionButton.swift file. You i'll basically need one constraint to align the button in the center of the container and another to align it to the bottom margin.

I'm also planning to update this pod to support right, center and left position.

I hope that helps and thanks for your question!

lourenco-marinho avatar Dec 23 '15 14:12 lourenco-marinho