Permalink
Browse files

added TraitTextView.textSize(Int)

  • Loading branch information...
pocorall committed Aug 10, 2013
1 parent 904de96 commit bea58f2ce0fde16d8a2822089c1f6eac75ad5fb0
@@ -4421,6 +4421,9 @@ trait TraitTextView[V <: android.widget.TextView] extends TraitView[V] {
basis
}
+ @inline def textSize (p: Int) = textSize_= (p)
+ @inline def textSize_=(p: Int) = { basis.setTextSize (android.util.TypedValue.COMPLEX_UNIT_PX, p); basis }
+
@inline def autoLinkMask = basis.getAutoLinkMask
@inline def autoLinkMask (p: Int) = autoLinkMask_= (p)
@inline def autoLinkMask_=(p: Int) = { basis.setAutoLinkMask (p); basis }
@@ -41,6 +41,9 @@ import android.graphics.drawable.Drawable
basis.setCompoundDrawablesWithIntrinsicBounds(null, null, null, img)
basis
}
+
+ @inline def textSize (p: Int) = textSize_= (p)
+ @inline def textSize_=(p: Int) = { basis.setTextSize (android.util.TypedValue.COMPLEX_UNIT_PX, p); basis }
>>
RelativeLayout_concreteBody() ::= <<

0 comments on commit bea58f2

Please sign in to comment.