File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compose/snippets/src/main/java/com/example/compose/snippets/layouts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ import androidx.compose.foundation.layout.height
39
39
import androidx.compose.foundation.layout.padding
40
40
import androidx.compose.foundation.layout.width
41
41
import androidx.compose.foundation.layout.wrapContentWidth
42
- import androidx.compose.material3.HorizontalDivider
43
42
import androidx.compose.material3.MaterialTheme
44
43
import androidx.compose.material3.Surface
45
44
import androidx.compose.material3.Text
45
+ import androidx.compose.material3.VerticalDivider
46
46
import androidx.compose.runtime.Composable
47
47
import androidx.compose.ui.Alignment
48
48
import androidx.compose.ui.Modifier
@@ -71,7 +71,7 @@ private object IntrinsicsSnippet1 {
71
71
.wrapContentWidth(Alignment .Start ),
72
72
text = text1
73
73
)
74
- HorizontalDivider (
74
+ VerticalDivider (
75
75
color = Color .Black ,
76
76
modifier = Modifier .fillMaxHeight().width(1 .dp)
77
77
)
@@ -111,7 +111,7 @@ private object IntrinsicsSnippet2 {
111
111
.wrapContentWidth(Alignment .Start ),
112
112
text = text1
113
113
)
114
- HorizontalDivider (
114
+ VerticalDivider (
115
115
color = Color .Black ,
116
116
modifier = Modifier .fillMaxHeight().width(1 .dp)
117
117
)
You can’t perform that action at this time.
0 commit comments