Skip to content

Commit

Permalink
issue-495: Made TextField.textInset available in Obj-C
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Dahan committed Dec 4, 2017
1 parent 2aa7372 commit 5065e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 2.12.18

* Fixed layout issues in CollectionView, where the sizing was not correctlly being initialized.
* [issue-495](https://github.com/CosmicMind/Material/issues/495): Made TextField.textInset available in Obj-C.

## 2.12.17

Expand Down
1 change: 1 addition & 0 deletions Sources/iOS/TextField.swift
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ open class TextField: UITextField {
}

/// EdgeInsets for text.
@objc
open var textInset: CGFloat = 0

open override func textRect(forBounds bounds: CGRect) -> CGRect {
Expand Down

0 comments on commit 5065e88

Please sign in to comment.