2021-08-27 21:35:30 +00:00
|
|
|
ui
|
2021-08-22 00:47:09 +00:00
|
|
|
gtViewProfileDetailsOn: aView
|
2021-08-18 22:00:15 +00:00
|
|
|
<gtView>
|
|
|
|
^ aView explicit
|
|
|
|
title: 'Details' translated;
|
|
|
|
priority: 5;
|
2021-08-22 02:40:33 +00:00
|
|
|
stencil: [
|
|
|
|
| container imageContainer |
|
2021-08-18 22:00:15 +00:00
|
|
|
container := BlElement new
|
2021-08-22 02:40:33 +00:00
|
|
|
layout: BlFlowLayout new;
|
2021-08-18 22:00:15 +00:00
|
|
|
constraintsDo: [ :c |
|
2021-08-22 02:40:33 +00:00
|
|
|
c vertical fitContent.
|
2021-08-18 22:00:15 +00:00
|
|
|
c horizontal matchParent ];
|
2021-08-22 02:40:33 +00:00
|
|
|
padding: (BlInsets all: 10).
|
|
|
|
imageContainer := BlLazyElement new
|
|
|
|
withGlamorousPreview;
|
|
|
|
aptitude: BrShadowAptitude new;
|
|
|
|
background: Color white;
|
|
|
|
margin: (BlInsets all: 20);
|
2021-08-18 22:00:15 +00:00
|
|
|
constraintsDo: [ :c |
|
2021-08-27 21:35:30 +00:00
|
|
|
c vertical exact: 175.
|
2021-08-23 04:01:52 +00:00
|
|
|
c horizontal matchParent ];
|
2021-08-22 02:40:33 +00:00
|
|
|
elementBuilder: [ self asCardElement margin: (BlInsets all: 20) ].
|
|
|
|
container addChild: imageContainer].
|