protected override void OnSizeToFit() { var s = EventSink.GetPreferredSize(); Widget.SetFrameSize(new CGSize((nfloat)s.Width, (nfloat)s.Height)); }
protected override void OnSizeToFit() { var s = EventSink.GetPreferredSize(); Widget.SetFrameSize(new System.Drawing.SizeF((float)s.Width, (float)s.Height)); }