mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
fix longtext layout: though text content should be inset from the edges, the
scrollbar should abut the edge of the screen.
This commit is contained in:
parent
ca0a555f8e
commit
134cade52c
|
@ -153,8 +153,9 @@ public class LongTextViewController: OWSViewController {
|
|||
|
||||
view.addSubview(messageTextView)
|
||||
messageTextView.autoPinEdge(toSuperviewEdge: .top)
|
||||
messageTextView.autoPinEdge(toSuperviewMargin: .leading)
|
||||
messageTextView.autoPinEdge(toSuperviewMargin: .trailing)
|
||||
messageTextView.autoPinEdge(toSuperviewEdge: .leading)
|
||||
messageTextView.autoPinEdge(toSuperviewEdge: .trailing)
|
||||
messageTextView.textContainerInset = UIEdgeInsets(top: 0, leading: 16, bottom: 0, trailing: 16)
|
||||
|
||||
let footer = UIToolbar()
|
||||
view.addSubview(footer)
|
||||
|
|
Loading…
Reference in a new issue