I create my class MyStyledStringElement and a subclass of StyledStringElement and IElementSize, trying to control the width of the styled element. Unfortunately, the code below resizes the cell height in getheight (). Is there a getWidth () method that I can use or something similar to adjust the width of the styled element of the string so that it looks just like UIButton? As always, thanks in advance.
public override UITableViewCell GetCell (UITableView tv) { var cell = base.GetCell (tv); cell.AutosizesSubviews = false;
John d
source share