Scrollable panel at design time

5 posts, 0 answers
  1. Roger
    Roger avatar
    22 posts
    Member since:
    Nov 2017

    Posted 04 Dec 2017 Link to this post

    Hi,

    have got to make this panel which contains a lot of group controls and I have run out of height on the winform..I tried using the scrollable panel docked to the form but no good (although it did allow some scrolling...how do I get a scrollable panel at design time where I can load all these controls?

  2. Roger
    Roger avatar
    22 posts
    Member since:
    Nov 2017

    Posted 04 Dec 2017 in reply to Roger Link to this post

    Of course I just found the answer...add a scrollable panel (not docked) inside a scrollable panel (docked).....increase the inner one and scroll down with the outer
  3. Dimitar
    Admin
    Dimitar avatar
    2621 posts

    Posted 05 Dec 2017 Link to this post

    Hello Roger,

    In general, there is no need for 2 panels. You can directly add the ScrollablePanel to the form, enlarge it along with the form, arrange the controls and when you make it small again the scrollbars will appear. 

    I hope this will be useful. 

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  4. Roger
    Roger avatar
    22 posts
    Member since:
    Nov 2017

    Posted 05 Dec 2017 in reply to Dimitar Link to this post

    I tried that and the 1 scrollable panel was limited to the maximum height of the form when the form was fully expanded...couldn't expand it past that....but...while the first scrollable panel was limited to the height of the form (i.e could not expand the panel outside the maximum height of the form...1070 in my case.... and have it scroll at design time) the 2nd scrollable panel(child) of the first scrollable was not... so the scrollbars came up on the parent to allow me to scroll in design time and yet expand the surface outside the maximum height of the form to add more controls and containers and view them at design time.

    I know it is not good policy to have so many controls in 1 line but it's the client's request.

  5. Dimitar
    Admin
    Dimitar avatar
    2621 posts

    Posted 06 Dec 2017 Link to this post

    Hi Roger,

    Actually, there is no reason not to use two panels and this would not have any performance impact. So I think it is OK to use this approach since it suits your case. 

    Do not hesitate to contact us if you have other questions.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top