John O'Reilly
12/17/2020, 7:58 PMText elements within something like HStack as shown below. Is anything similar possible right now with Compose (or planned)?
HStack {
Text("some text")
Text("some more text")
}
.font(.caption)Bryan Herbst
12/17/2020, 8:03 PMProvideTextStyle instead of the usual Providers, so the Compose equivalent would look something like:
ProvideTextStyle(MaterialTheme.typography.caption) {
Column {
Text("some text")
Text("some more text")
}
}John O'Reilly
12/17/2020, 8:04 PMKirill Grouchnikov
12/17/2020, 8:11 PMJohn O'Reilly
12/17/2020, 8:17 PMKirill Grouchnikov
12/17/2020, 8:19 PM