2022-04-01 22:22:33 +00:00
|
|
|
ui
|
|
|
|
gtTweetsFor: aView
|
|
|
|
<gtView>
|
|
|
|
^ aView explicit
|
|
|
|
title: 'Tweets';
|
|
|
|
stencil: [
|
|
|
|
| container imageContainer |
|
|
|
|
container := BlElement new
|
|
|
|
layout: BlFlowLayout new;
|
|
|
|
constraintsDo: [ :c |
|
|
|
|
c vertical fitContent.
|
|
|
|
c horizontal matchParent ];
|
|
|
|
padding: (BlInsets all: 10).
|
|
|
|
self tweets do: [ :each |
|
2022-04-10 16:22:59 +00:00
|
|
|
container addChild: each asCardElement ].
|
2022-04-01 22:22:33 +00:00
|
|
|
container asScrollableElement ]
|