UrbanApps / UAModalPanel

An animated modal panel alternative for iOS
http://code.coneybeare.net/uamodalpanel-an-open-source-modal-panel-alter
Other
877 stars 136 forks source link

Added the ability to have different height to width. #5

Closed ddaddy closed 12 years ago

ddaddy commented 12 years ago

I have renamed outMargin to outerMarginX and added outerMarginY. outerMarginY is not required as it'll default to the outerMarginX figure, but using outerMarginY will let you have smaller height on the popups #004

coneybeare commented 12 years ago

Instead of renaming, please make it so that it is backwards compatible with the current release. That is, if someone sets outerMargin, it sets outerMarginX and outerMarginY both. This way it will not break for everyone who already has it installed.

ddaddy commented 12 years ago

Sorry, I didn't think about backward compatibility. I've just added outerMarginY as optional now, so outerMargin will set as before, if you use outerMarginY it'll use a different height.