Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Add property without getter TextView.gravity. #96

Merged
merged 1 commit into from
Nov 5, 2015

Conversation

lukaspili
Copy link
Contributor

As the title says.
Right now, when using gravity inside a textView block, it sets the layout params gravity.
With this modification, there is now 2 different gravity properties:

textView {
   text = "Hello, world"
   gravity = Gravity.CENTER // text gravity
}.lparams {
   gravity = Gravity.RIGHT // layout gravity
}

Add tests for TextView.gravity.
yanex added a commit that referenced this pull request Nov 5, 2015
Add property without getter TextView.gravity.
@yanex yanex merged commit 2b3f7df into Kotlin:master Nov 5, 2015
@yanex
Copy link
Member

yanex commented Nov 5, 2015

Merged. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants