HISE Logo Forum
    • Categories
    • Register
    • Login

    making an interface for a ScriptProcessor?

    Scheduled Pinned Locked Moved Bug Reports
    4 Posts 3 Posters 181 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ulrikU
      ulrik
      last edited by

      If I set the dimensions for a script processor using

      Content.makeFrontInterface(700, 200);
      

      it works nicely, but as soon as I open that project again, the interface is completely gone. 😳
      It shows nothing, then I have to comment out that line and recompile for getting the interface back (not with the right dimensions though), and then apply the same line again to set the right dimensions.

      Is this a bug, or am I doing something wrong?

      When opening the project

      Skärmavbild 2021-11-28 kl. 22.32.19.png

      After commenting out the Content.makeFrontInterface(700, 200); and recompiling the project

      Skärmavbild 2021-11-28 kl. 22.31.30.png

      I'm on the develop branch from 26/11

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @ulrik
        last edited by

        @ulrik You can only have one front interface and that script is added automatically in the latest versions.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        Christoph HartC 1 Reply Last reply Reply Quote 1
        • Christoph HartC
          Christoph Hart @d.healey
          last edited by

          Use Content.setHeight() / Content.setWidth() instead.

          ulrikU 1 Reply Last reply Reply Quote 3
          • ulrikU
            ulrik @Christoph Hart
            last edited by

            @christoph-hart @d-healey thank you!

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            49

            Online

            1.7k

            Users

            11.7k

            Topics

            102.1k

            Posts