Fixed
Status Update
Comments
br...@google.com <br...@google.com> #2
Running Compose 1.2.0 and hit this regularly with a few views. The 1.dp of padding trick works, but shouldn't be necessary. In an app with a lot of rounded corners with strokes, I've resorted to wrapping background, border, and the extra padding into a single modifier used everywhere.
tu...@gmail.com <tu...@gmail.com> #3
Just ran into this issue as well, wondering if there is a better fix?
tu...@gmail.com <tu...@gmail.com> #4
same issue with Box border
mi...@google.com <mi...@google.com>
mi...@google.com <mi...@google.com> #10
This is really crap, any way you make a clip you can see its background, you can't even put padding to hide it because I don't want padding.
Compose 1.7 and this crap is still the same
ry...@rouge-media.com <ry...@rouge-media.com> #11
Experienced the same issue right now with Compose UI 1.8.0-beta01
Box(modifier = Modifier.clip(CircleShape)
.border(6.dp, White, CircleShape)
.background(PrimaryGreen)
) {
Text(
it.toString(),
modifier = Modifier
.padding(14.dp),
color = White,
style =
TextStyle(
fontFamily = openSansFont,
fontWeight = FontWeight.SemiBold,
),
fontSize = 16.sp
)
}
Please check attachment
mi...@google.com <mi...@google.com>
mi...@google.com <mi...@google.com> #12
Sorry, attached the wrong attachment. Here's the correct one.
Description
please provide a strict restrict between bounds,
i got the bias thing, but I feel a strict restriction is very useful, and i see many people searched for this feature.
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************