paparazzi icon indicating copy to clipboard operation
paparazzi copied to clipboard

Feature request: snapshot just the composable

Open ember-rose opened this issue 1 year ago • 3 comments

Android Studio can render composables with the @Preview annotation with the render canvas sized to fit the composable or the dimensions specified in the preview annotation. It would be nice to have an API in Paparazzi that exposes this functionality to enable taking snapshots that shrink to the size of the composable or dimensions specified to the snapshot method instead of capturing the whole virtual device.

ember-rose avatar Jul 25 '22 18:07 ember-rose

+1

mshearer123 avatar Jul 28 '22 09:07 mshearer123

See https://github.com/cashapp/paparazzi/issues/383 and https://github.com/cashapp/paparazzi/issues/37

andersu avatar Jul 31 '22 11:07 andersu

This is a duplicate of #37, thanks!

ember-rose avatar Oct 12 '22 22:10 ember-rose

Fixed in #497

jrodbx avatar May 31 '23 07:05 jrodbx