Using Paparazzi, is there some trick to get it to ...
# squarelibraries
z
Using Paparazzi, is there some trick to get it to render the entirety of a
LazyColumn
without just setting the
ScreenHeight
to some arbitrarily large number? I have attempted to use
V_SCROLL
and
FULL_EXPAND
and neither seem to change anything. Additionally, the list it is rendering is immutable.
Composables I am attempting to use:
Copy code
@Composable
private fun TestTypePreview() {
    LazyColumn(
        modifier = Modifier
            .padding(vertical = 4.dp)
            .testTag(TYPE_PREVIEW_LIST_TAG)
    ) {
        items(items = textStyleList) { pair ->
            TestTextSample(name = pair.first, textStyle = pair.second)
        }
    }
}

@Composable
private fun TestTextSample(name: String, sample: String, textStyle: TextStyle) {
    Row {
        Text(name, style = textStyle, color = MaterialTheme.colors.secondary, modifier = Modifier.padding(end = 12.dp))
        Text(sample, style = textStyle, color = MaterialTheme.colors.secondary)
    }
}
y
I doubt it. A LazyColumn doesn't really have a height. It can show its elements ina tiny sliver.