monotouch - Modify the Frame of UIButton -
i'm trying resize uibutton referenced xib file.
this i've tried without success:
rectanglef frame = actionbtn.frame; frame.width = 140; actionbtn.frame = frame;
what doing wrong?
you can't modify existing rectanglef. seek instead
rectanglef frame = actionbtn.frame; actionbtn.frame = new rectanglef(frame.x, frame.y, 140, frame.height);
monotouch xamarin
No comments:
Post a Comment