Skip to content

Commit 979d7e9

Browse files
fix tutorial 3-2-4 info
1 parent 7ae0722 commit 979d7e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tutorial1-1Basics/src/main/java/com/smarttoolfactory/tutorial1_1basics/chapter3_layout/Tutorial3_2_4ConstraintsBounds.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ private fun ConstraintsSample() {
7878
StyleableTutorialText(
7979
text = "When layout width is not in bounds of " +
8080
"**Constraints.minWidth**..**Constraints.maxWidth** " +
81-
"Parent is placed at (layout width-Constraints.maxWidth)/2 or " +
82-
"(layout width-Constraints.minWidth)/2\n" +
81+
"Parent is placed at (Constraints.maxWidth- layout width)/2 or " +
82+
"(Constraints.minWidth-layout width)/2\n" +
8383
"Constraints used for measuring measurables determine size " +
8484
"of child Composables.\n" +
8585
"Setting layout width determines where parent will be positioned and which" +

0 commit comments

Comments
 (0)