示例#1
0
 void UpdateLineHeight()
 {
     if (Element.LineHeight == -1)
     {
         _view.SetLineSpacing(_lineSpacingExtraDefault, _lineSpacingMultiplierDefault);
     }
     else if (Element.LineHeight >= 0)
     {
         _view.SetLineSpacing(0, (float)Element.LineHeight);
     }
 }
 void UpdateLineHeight()
 {
     if (Element.LineHeight >= 0)
     {
         _view.SetLineSpacing(0, (float)Element.LineHeight);
     }
 }