Commit 8898092b authored by Aral Balkan's avatar Aral Balkan

Update bottom space of base to exactly match main app

Also, pull first line of text up so it displays almost at top bound of the status text view.
parent dc3582b5
This diff is collapsed.
......@@ -143,6 +143,7 @@ class ViewController: UIViewController, UITextViewDelegate {
.adapt(.body),
.font(fontSet.title),
.color(.black),
.lineHeightMultiple(1.0),
.paragraphSpacingAfter(fontSet.title.lineHeight/16.0)
)
......@@ -194,6 +195,10 @@ class ViewController: UIViewController, UITextViewDelegate {
_ = delay(0) {
self.statusTextView.setContentOffset(.zero, animated: false)
self.statusTextView.isScrollEnabled = true
// Make the context of the status text view start flush at the edges.
self.statusTextView.contentOffset = CGPoint(x: 0.0, y: fontSet.title.lineHeight/4.0)
}
statusTextView.isScrollEnabled = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment