HISE Logo Forum
    • Categories
    • Register
    • Login

    Redraw floating tile

    Scheduled Pinned Locked Moved Feature Requests
    4 Posts 3 Posters 337 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.
    • d.healeyD
      d.healey
      last edited by

      After programmatically changing the width of a floating tile the ADSRGraph no longer fits. Could we get a redraw method added, or get HISE to auto-redraw when the dimensions are changed?

      84fe32f0-3eec-423e-942e-89476aa2f7fa-image.png

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

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

        I found a solution. Set the "Data" property to "" and then set it back to whatever it's meant to be.

        For example

        FloatingTile1.set("height", value);
        FloatingTile1.set("Data", "");
        FloatingTile1.set("Data", "{\r\n  \"ProcessorId\": \"AHDSR Envelope1\",\r\n  \"Index\": -1\r\n}");
        

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

        ustkU ulrikU 2 Replies Last reply Reply Quote 2
        • ustkU
          ustk @d.healey
          last edited by

          @d-healey Well done 😎

          Can't help pressing F5 in the forum...

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

            @d-healey it's like changing items in a combobox or Viewport, I have to set it to zero then apply the new items

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

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

            24

            Online

            1.8k

            Users

            12.1k

            Topics

            105.1k

            Posts