If have two questions of how to use the CollectionView-Component:
- I want to use sections with plenty of item such that
- the CollectionView scrolls vertical through the sections; each section only uses one "line" of the component
- a scrollview scrolls horicontal through the items of a section
I tried to place the collection view with a huge width inside a scrollview and set its viewforzooming property to be the collectionsview. However, one cannot scroll horicontally. Any help?
- I want the corners of an image shown in the CollectionView to have round corners. According to apple's documentation one has to set cornerradius and masktobounds. In my code I use
AsImageView(AControl).ImageView.layer.SetcornerRadius(5.0);
AsImageView(AControl).ImageView.layer.setMasksToBounds(true);
within onAddItemControl as well as OnApplyItemValue but without effect. Furthermore adding
AsImageView(AControl).ImageView.layer.setBorderColor(AlphaColorToUIColor(TAlphaColorRec.Gray));
AsImageView(AControl).ImageView.layer.setborderWidth(1.0);
lets the app crash.
It should be possible to use those iOS featrues, but how?