Change radius property to diameter for ellipses.
This commit is contained in:
parent
119338aff3
commit
8c17ebe325
@ -84,7 +84,7 @@
|
||||
|
||||
.sendButton {
|
||||
borderWeight : 2;
|
||||
radius : 40;
|
||||
diameter : 40;
|
||||
}
|
||||
|
||||
.titleLabel {
|
||||
@ -119,7 +119,7 @@
|
||||
}
|
||||
|
||||
.participantIcon {
|
||||
radius : 44;
|
||||
diameter : 44;
|
||||
fontSize : 18;
|
||||
circleStroke : 2;
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
<fx:Script>
|
||||
<![CDATA[
|
||||
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
|
||||
border.width = border.height = getStyle("radius");
|
||||
border.width = border.height = getStyle("diameter");
|
||||
|
||||
borderStroke.color = getStyle("borderColor");
|
||||
borderStroke.weight = getStyle("borderWeight");
|
||||
|
@ -8,11 +8,10 @@
|
||||
override protected function updateDisplayList(w:Number, h:Number):void {
|
||||
super.updateDisplayList(w, h);
|
||||
|
||||
circle.height = getStyle('radius');
|
||||
circle.width = getStyle('radius');
|
||||
circle.width = circle.height = getStyle("diameter");
|
||||
|
||||
circleColor.color = getStyle('circleColor');
|
||||
circleColor.weight = getStyle('circleStroke');
|
||||
circleColor.color = getStyle("circleColor");
|
||||
circleColor.weight = getStyle("circleStroke");
|
||||
}
|
||||
|
||||
public function set displayInitials(initials:String):void {
|
||||
|
Loading…
Reference in New Issue
Block a user