Viewports --- clearly I dont understand...



  • I cant seem to get viewports to work at all....

    I can add a button and it shows up - but if I add another the first disappears and the second cant be moved...

    HiseSnippet 825.3ocsV0zaSCCF1tsdPKvDCw80iahwTZ2GfDfnzuPUv1pVGSbhIWG2FqkXGk3rsJDWP7iAj3.+.3vtwM9svcNLrSxZRGYScEQNk2Odbdd+zoqmfP88Ed.Xw8F4RAvai5MhKsZXgYbPml.37nsv9RpW4HU0G4h88ol.HL+K0JfEK.Be90yqiswbBMQE.rufQnul4vjIZ6V6ULa61XS5dLmTdudsNDAugvVDn3SdjAvESNDOjtMV6VND.NWKSlT30ShkTekO0Eli5YINlG4+9LeVeapVnBnm5fhTCZXwrM6ddr5C.vBcSh77QQ98QawLYi0mjAtangxIHRmCf4ljRElfRUtLJ0VXapOfKgdvTzqPD8V.0i3wbkIVzb6VnNbUwY.Vk1SSqHeAvSQMDJG3xUcvGRa6oDFCXoMMLVo7FFFK+jAAbhjI3kE7sER5N7kVtz6KUrzGJU9hlFLHSa5Oimv1l5koYck16p.tDOvoO0akxGgsCnicTE9Slema5xujnnNkiBdGNStiKMVNoBTIiJ.HNsopE4iYn5MYXk3dwUBp49L5wtBOIfYpKEmKVADFDomC.W7PlO9PpGHkBd3ATDEI7OBuZFveSmlXIV2XEGWpX0k5IY5TJrI8H0TZTaVQTSp+gRganuNtBtNK.KN0g9Ii+vmtasQIrnYsiYlRK.DAAP.vhxFZI0ReRIwjTmnA+pJDy0p0W9sFShZs1EW76+Tqs+vDc.vONSqClKEYuwTjhOQ+oWSgbj9kmpdwE6oPm5XRGUi49Wmf6OHp1bM9xUSkf.uKUB5aer1zwfOOACdV3F0+ZagZmkvLvFKmbQldicrA0z2DaLzqE39L4nzazuFa2Lxb6VlyVSIcW.0kIIVYy2bYvWcav+Y9FeWwcPsFLfRjIjs.p8am0KFtFTYWQfjwGtEV5wzsvaG3zSMJPnJlv4TaecOQNcSYjrQ37l5oGkaFJbl5I1XEsLL1XkyMBbvDOwAjnMN5aitYnFEm3gWDWT8GAJ4xi2SgPFqZ.bTWRd.gnSEOTw8rwTcFvr1LfY8Y.yFy.lMmALOZFv73qDi9+SdQfT3DMlnTzsU3BeHrEGq5xB6HA+Q1Xs4A
    

    a work around is to put a panel in the viewport - but surely thats not right...



  • A viewport can only have one control in it. So you are correct with your solution.

    I was confused about this too - https://forum.hise.audio/topic/1146/viewport



  • @d-healey said in Viewports --- clearly I dont understand...:

    A viewport can only have one control in it. So you are correct with your solution.

    ---ok I guess that sorta works... thanks Dave.

    Will someone with better access to teh documentation please change this:

    A Viewport with a scrollbar, that can hold (and scroll) other components.

    to this:
    A Viewport with a scrollbar, that can hold (and scroll) a single component.



  • @Lindon said in Viewports --- clearly I dont understand...:

    Will someone with better access to teh documentation please change this:

    Done. Although I'm not sure what is necessary to get it to show up on the docs site. @Dominik-Mayer ?


Log in to reply
 

16
Online

648
Users

2.6k
Topics

21.5k
Posts