Custom height for Window

  1. 5 years ago

    AntonioDB

    28 Aug 2018 User since 2018

    Hi!
    I can't view content placed under 2000px, in a long window used for vertical scrolling.

    I would like to set height like in Xcode for "View Controller", "Simulated Size", "Freeform".

    I've insert a "View" with more elements, but I can't see them if I set "Frame" over 2000px. in "H" (or "Scroll" "Size" "H").
    The only solution that I have found is set the zoom at 25%, but the content is too small.
    There is another solution?

    Many thanks for your help.

  2. marco

    28 Aug 2018 Administrator User since 2016

    Hi @AntonioDB you have two options.

    The first one is to use a View with a frame set to the visible area and then use the content size properties to expand its usable area. Once done you can drop controls inside the view and you can scroll it at design time using the option + command + scroll combination.

    Another solution is to use a View with a frame set to the visible area and then by double clicking on it creating a custom view and set its height to 2000px. The controls you need must be added to that custom view in this case.

    I attached a couple of projects to show you how to implement both solutions.

  3. AntonioDB

    28 Aug 2018 User since 2018

    Hi, @marco!
    Great! Using a CustomView is the best solution for me.
    Thank you so much for your support!

or Sign Up to reply!