Wish Access to scrollview inner panel in designer

Discussion in 'Bugs & wishlist' started by HotShoe, Feb 5, 2015.

  1. HotShoe

    HotShoe Well-Known Member Licensed User

    I post this wish once a year so here we go :)

    I'd like to be able to place views directly into the inner panel of a scrollview in the designer. This way we don't have to do it in code and it is less confusing when updating the app and layouts in the future, and just makes the designer tighter and more integrated in the development process.

    --- Jem
     
    RandomCoder and Troberg like this.
  2. corwin42

    corwin42 Expert Licensed User

    Why can't you create a second layout that you load into the inner Panel of the ScrollView?
     
    lemonisdead and NJDude like this.
  3. HotShoe

    HotShoe Well-Known Member Licensed User

    The question is still, Why should I have to? Why can't I just build the layout I want in the designer to begin with? Why must I load another layout in code?

    --- Jem
     
  4. Troberg

    Troberg Well-Known Member Licensed User

    I agree, this would be good. Sometimes, one wants to add fairly complex layouts to a scrollview (say, a settings screen). It's easier to do in the designer than in code.
     
  5. corwin42

    corwin42 Expert Licensed User

    I don't really see the problem here. I see more problems if it is done the way you want it. Normally the contents of the Scrollview is larger then the ScrollView itself. So how should this be handled in the designer? A scrollbar on the Scrollview to scroll its inner layout?

    You don't have to make the design by code. Just create the layout of the ScrollView Contents with the designer and load it to the inner Panel.
     
  6. Troberg

    Troberg Well-Known Member Licensed User

    True, but it's still awkward if the page is ten screens tall...
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice