Forum

    • Register
    • Login
    • Search
    • Categories

    making an interface for a ScriptProcessor?

    Bug Reports
    3
    4
    45
    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.
    • ulrik
      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 12.4, Xcode 13.0
      http://musikboden.se

      d.healey 1 Reply Last reply Reply Quote 0
      • d.healey
        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 Hart 1 Reply Last reply Reply Quote 1
        • Christoph Hart
          Christoph Hart @d.healey last edited by

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

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

            @christoph-hart @d-healey thank you!

            Hise Develop branch
            MacOs 12.4, Xcode 13.0
            http://musikboden.se

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

            10
            Online

            741
            Users

            5.4k
            Topics

            50.4k
            Posts