You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not a compose expert, but it looks like this is a bug to me. I'm running Desktop Compose, and text alignment seems to not be working.
Here is the code snippet:
Column(
Modifier
.fillMaxSize()
.padding(20.dp)
) {
Text(
text ="Test test test asdfasdfa sfj aslf lajsdlf jlajdsfl jlasjf jaslkfj klajdfl jaslf lkasjfljaslk f",
style = typography.h3,
color =Color.White,
textAlign =TextAlign.End,
modifier =Modifier.background(Color.Black),
)
}
Here is the result:
As you can see, the text isn't aligning to the end as I'd expect. I've also tried aligning center, and aligning doesn't seem to have any impact for the text.
I'm not a compose expert, but it looks like this is a bug to me. I'm running Desktop Compose, and text alignment seems to not be working.
Here is the code snippet:
Here is the result:
As you can see, the text isn't aligning to the end as I'd expect. I've also tried aligning center, and aligning doesn't seem to have any impact for the text.
Here is the full code sample:
The text was updated successfully, but these errors were encountered: