From edd6021f11122275596d8bf724c8ba2153829073 Mon Sep 17 00:00:00 2001 From: Muddassir Ahmed Khan Date: Thu, 3 Sep 2020 05:43:26 +0500 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6addb1c..64bcae0 100644 --- a/README.md +++ b/README.md @@ -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