2022-04-01 22:22:33 +00:00
|
|
|
ui
|
|
|
|
gtViewProfileDetailsOn: aView
|
|
|
|
<gtView>
|
|
|
|
^ aView explicit
|
|
|
|
title: 'Details' translated;
|
|
|
|
priority: 5;
|
|
|
|
stencil: [
|
|
|
|
| container imageContainer |
|
|
|
|
container := BlElement new
|
|
|
|
layout: BlFlowLayout new;
|
|
|
|
constraintsDo: [ :c |
|
|
|
|
c vertical fitContent.
|
|
|
|
c horizontal matchParent ];
|
|
|
|
padding: (BlInsets all: 10).
|
2022-04-10 00:31:10 +00:00
|
|
|
imageContainer := self avatarPicture;
|
2022-04-01 22:22:33 +00:00
|
|
|
withGlamorousPreview;
|
|
|
|
aptitude: BrShadowAptitude new;
|
|
|
|
background: Color white;
|
|
|
|
margin: (BlInsets all: 20);
|
|
|
|
constraintsDo: [ :c |
|
|
|
|
c vertical exact: 175.
|
|
|
|
c horizontal matchParent ];
|
|
|
|
elementBuilder: [ self asCardElement margin: (BlInsets all: 20) ].
|
|
|
|
container addChild: imageContainer].
|