locked
It's possible change the 600x600 view size when using XIB with autolayout and size classes? RRS feed

  • Question

  • User47338 posted

    Hi, I'm creating a screen with many controls (View / UIScrollView / Controls) and I already reached the bottom of the xib view, but I need to add more controls.

    I can't resize the view height, it's fixed at 600 because the autolayout and size classes.

    What should I do to include the remaining controls?

    Thanks!

    Tuesday, August 9, 2016 1:51 AM

Answers

  • User1861 posted
    1. Under the view properties, under Simulated Metrics, change Size to "Freeform".
    2. Right click the *.xib view in the solution explorer and open with Xcode Interface Builder.
    3. Once open in Xcode you can change the size of the view.
    4. Save and go back to Xamarin.

    If you're having the issue in Windows/Visual Studio, you still need to make it freeform and edit the xml manually. (See screenshot)

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, May 5, 2017 6:12 PM