Fixed
Status Update
Comments
so...@google.com <so...@google.com>
ap...@google.com <ap...@google.com> #2
Hi,
I also see my text cut off when I set maxLines = 2
. Is it the same issue?
Box(
modifier =
Modifier.size(
width = 108dp,
height = 34dp,
),
contentAlignment = Alignment.Center,
) {
BasicText(
text = "text text text",
maxLines = 2,
autoSize = AutoSize.StepBased(minFontSize = 1.sp, maxFontSize = 13.sp, stepSize = 0.2.sp),
)
}
Description
As of Compose
1.0.0-alpha01
bothRowScope
andColumnScope
are declared as object which allows methods inside it to be statically imported which causes a lot of confusion. Here is one such example:Instead these types of scopes should be interfaces to prevent static imports.