Hello, Is there any way to prevent this behavior w...
# compose-wear
a
Hello, Is there any way to prevent this behavior when large font size is set in system settings? I'm using default Chip / ToggleChip composables.
s
Hi - that clipping should no longer happen if you are using 1.3.0-alpha01 onwards - see https://developer.android.com/jetpack/androidx/releases/wear-compose#1.3.0-alpha01
And there was a further change in 1.3.0-alpha02 which makes a height adjustment to chips if the font padding change was insufficient: https://developer.android.com/jetpack/androidx/releases/wear-compose#1.3.0-alpha02
a
Thanks! Will change to alpha then 🙂 Btw. @stevebower Can you take a look on our previous chat? I think there's some issue which was not fixed in Dialog composables
It only happens on 450x450 device when using latest stable compose ui 1.5.0 and material 1.2.0. When I switch back to 1.4.3 / 1.1.2 Dialog looks OK.
s
We'll see if we can repro what you're seeing - @Rajat Biswas
r
Hi @amoledwatchfaces - I tried with 454x454 round device using compose.ui 1.5.0 and wear.compose.material 1.2.0 but couldn't repro this issue.
a
Hi @Rajat Biswas, I can only reproduce it on 450x450 (Galaxy Wacth4). I'll try with emulator later
I can't even reproduce it on emulator 450x450 (225 dps)
r
As per the code samples shared by you on the previous thread, you're not setting any vignette on Scaffold and yet we can see the Vignette. Is the vignette set somewhere else?
a
Vignette is always visible in the Dialog composables. No way to turn it off.
r
Okay, got it. Yeah, Dialog's vignette can't be turned off.