Minor UI/UX improvements in Tweet and TwitterUser
This commit is contained in:
parent
2324324695
commit
4403c822b2
@ -1,14 +1,21 @@
|
|||||||
accessing
|
accessing
|
||||||
asCardElement
|
asCardElement
|
||||||
|
|
||||||
^ BrHorizontalPane new
|
^ BrHorizontalPane new
|
||||||
hFitContent;
|
hFitContent;
|
||||||
vFitContent;
|
vFitContent;
|
||||||
padding: (BlInsets all: 20);
|
padding: (BlInsets all: 20);
|
||||||
margin: (BlInsets all: 10);
|
margin: (BlInsets all: 10);
|
||||||
addChild: (self user profileImage asElement asScalableElement size: 64@64);
|
addChild:
|
||||||
addChild: (BrVerticalPane new
|
(self user profileImage asElement asScalableElement size: 64 @ 64);
|
||||||
fitContent;
|
addChild: (BrVerticalPane new
|
||||||
margin: (BlInsets left: 20);
|
fitContent;
|
||||||
addChild: (BrLabel new aptitude: BrGlamorousLabelAptitude; text: self created);
|
margin: (BlInsets left: 20);
|
||||||
addChild: (BrLabel new aptitude: BrGlamorousLabelAptitude; text: self text));
|
addChild: (BrLabel new
|
||||||
when: BlClickEvent do: [:e | e target phlow spawnObject: self]
|
aptitude: BrGlamorousLabelAptitude;
|
||||||
|
text: '@' , self user name , ' | ' , self created asString;
|
||||||
|
beSmallSize);
|
||||||
|
addChild: (BrLabel new
|
||||||
|
aptitude: BrGlamorousLabelAptitude;
|
||||||
|
text: self text));
|
||||||
|
when: BlClickEvent do: [ :e | e target phlow spawnObject: self ]
|
@ -19,4 +19,4 @@ asCardElement
|
|||||||
addChild: (BrLabel new aptitude: BrGlamorousLabelAptitude; text: self name; beLargeSize);
|
addChild: (BrLabel new aptitude: BrGlamorousLabelAptitude; text: self name; beLargeSize);
|
||||||
addChild: (BrLabel new aptitude: BrGlamorousLabelAptitude; text: 'joined: ', self createdAtShorted);
|
addChild: (BrLabel new aptitude: BrGlamorousLabelAptitude; text: 'joined: ', self createdAtShorted);
|
||||||
addChild: (BrLabel new aptitude: BrGlamorousLabelAptitude; text: self description));
|
addChild: (BrLabel new aptitude: BrGlamorousLabelAptitude; text: self description));
|
||||||
when: BlClickEvent do: [:e | e target phlow spawnObject: self]
|
when: BlClickEvent do: [:e | e target phlow spawnObject: self tweets]
|
Loading…
Reference in New Issue
Block a user