Ion-scroll wrap content

Hello all

Im trying to work with ion-scroll to display images vertically…
Assuming the list of images is dynamic and can be changed (remove item or add) how can i make the scroll width to take the content sizes?

<ion-scroll scrollX="true"> <img (click)="addOne()" *ngFor="let url of images" [src]="url" /> </ion-scroll>
Currently to make this work i need to give to the ion-scroll width like 1000px, is there a way to that the width will be calculated from the elements inside automatically?