Cannot access '@StabilityInferred(...) @SourceDebugExtension(...) object BoxScopeInstance : BoxScope': it is internal in file
j
Jasjeet Singh
08/17/2024, 6:33 AM
Parent scope of your box composable should be BoxScope. Which means, if you do Box { //*your snippet/*/ }, everything should work. You need to use appropriate Alignment for your given parent scope (be it RowScope or ColumnScope).
c
Chris B
08/17/2024, 6:39 AM
As, I think I see my confusion. I've been thinking the
align()
modifier specified the alignment of the contents, not the alignment within the parent.
jetpack compose 1
Chris B
08/17/2024, 6:40 AM
Doesn't help me fix the UI dropdown, though. But that's a secondary issue.