cacaodev/cappuccino

Implement -baselineOffsetFromBottom in all controls.

cacaodev opened this issue · 0 comments

@Property(readonly) CGFloat baselineOffsetFromBottom;

The distance (in points) between the bottom of the view’s alignment rectangle and its baseline.

The default value of this property is 0. For views that contain text or other content whose layout benefits from having a custom baseline, you can override this property and provide the correct distance between the bottom of the view’s alignment rectangle and that baseline.