08.1376 Migration: Tweets previews problems deprecating BlLazyElement by BrAsyncWidget.
This commit is contained in:
parent
94ce588376
commit
2c2ee3b132
@ -12,5 +12,14 @@ gtTweetsFor: aView
|
||||
c horizontal matchParent ];
|
||||
padding: (BlInsets all: 10).
|
||||
self tweets do: [ :each |
|
||||
container addChild: each asCardElement ].
|
||||
imageContainer := BrAsyncWidget new
|
||||
aptitude: BrShadowAptitude new;
|
||||
background: Color white;
|
||||
margin: (BlInsets all: 10);
|
||||
constraintsDo: [ :c |
|
||||
c vertical exact: 275.
|
||||
c horizontal exact: 480 ];
|
||||
stencil: [ each asCardElement margin: (BlInsets all: 15) ].
|
||||
container addChild: imageContainer
|
||||
].
|
||||
container asScrollableElement ]
|
Loading…
Reference in New Issue
Block a user