compose-audiowaveform icon indicating copy to clipboard operation
compose-audiowaveform copied to clipboard

Unable to set custom width for the waveform.

Open Zaraki596 opened this issue 1 year ago • 0 comments

As the title suggested whenever I try to customize waveform width with the following line, the waveform take the full width of the screen

          AudioWaveform( modifier = modifier.fillMaxWidth(0.75f) ) 

This is maybe due to behavior of Internally AudioWaveform Composable the Canvas function uses fillMaxWidth()

Screenshot 2023-04-25 at 17 37 45

Any resolution for this?

Zaraki596 avatar Apr 25 '23 12:04 Zaraki596