Fixed
Status Update
Comments
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
There are three files directly in ui/ relating to focus: FocusModifier.kt, FocusObserverModifier.kt, FocusRequesterModifier.kt. They should be in the focus/ directory and package for consistency. Marking this P1 as it will be hard to do after beta.
An example of how to have deprecation declarations for a similar move is here:https://cs.android.com/androidx/platform/frameworks/support/+/androidx-master-dev:compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/DrawModifier.kt;l=26;drc=e429769720e41196e71dbcf09a6db503c2d6d8e3