xamarin.ios - Modify the Frame of UIButton -


I am trying to resize a UIButton referenced from the xib file.

This is what I have tried without success:

  RectangleF frames = actionBtn.Frame; Frame With = 140; Action btn.fr = frames;  

What am I doing?

You can not modify an existing RectangleF instead try it

  RectangleF frame = actionBtn.Frame; Action BTN.frame = new rectangle (frame.x, frameY, 140, frame.height);  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -