bobbyali / kidzvids2

Second attempt at the kid-friendly Youtube iOS player
1 stars 2 forks source link

Negative constraint #7

Closed bobbyali closed 9 years ago

bobbyali commented 9 years ago

In my constraints code using Masonry/Snap, I have to set the right constraint to be negative in order to get the element to appear properly (with the right edge appearing ~50 pixels from the right screen border). Is this correct?

e.g. https://github.com/bobbyali/kidzvids2/blob/master/kidsvids/SettingsViewController.swift#L24 (lines 24 and 53)

bobbyali commented 9 years ago

This is normal (doesn't work like CSS padding, but on +/- coordinates).