private nfloat GetWidth(IndicatorInfo info) { UILabel label = new UILabel(); label.TranslatesAutoresizingMaskIntoConstraints = false; label.Font = Settings.Style.ButtonBarItemFont; label.Text = info.Title; CGSize labelSize = label.IntrinsicContentSize; return(labelSize.Width + (this?.Settings.Style.ButtonBarItemLeftRightMargin ?? 8) * 2); }
public void ConfigureCell(ButtonBarViewCell cell, IndicatorInfo indicatorInfo) { }