Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
muddassir235 authored Sep 3, 2020
1 parent e8c866d commit edd6021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ myView.mutableWidth = 160.0f.px
myView.mutableHeight = 90.0f.px
```
#### Minimum Width and Minimum Height
You don't have to set both `minimumWidth` and `minWidth` for acheiving your desired behaviour (Textview and its decendants (Button e.t.c) require both of these to be set in order to apply a minimum height to the view which leads to ugly code), simply use `minW`
You don't have to set both `minimumWidth` and `minWidth` for acheiving your desired behaviour (Textview and its decendants (Button e.t.c) require both of these to be set in order to apply a minimum width to the view which leads to ugly code), simply use `minW`
```kotlin
myTextView.minW = 16.0.px
myTextView.minH = 9.0.px
Expand Down

0 comments on commit edd6021

Please sign in to comment.