HISE Logo Forum
    • Categories
    • Register
    • Login

    TooltipPanel new Fade and ShowIcon data properties (PR help please!)

    Scheduled Pinned Locked Moved Solved General Questions
    7 Posts 3 Posters 75 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.
    • dannytaurusD
      dannytaurus
      last edited by

      I needed to make a couple of small customisations to the TooltipPanel which didn't warrant building a fully custom component.

      Here's the PR: https://github.com/christophhart/HISE/pull/799

      Fade [boolean] enables or disables fade animation when tooltip appears/disappears.
      ShowIcon [boolean] shows or hides the info icon. If false, it removes the text offset too.

      Both default to true for backwards compatibility.

      Thing is, I don't know how to get the new default props showing in the Data section of the UI.

      Can anyone help with this?

      It works fine when I type them in, but they should appear when the component is added too.

      CleanShot 2025-11-06 at 13.58.03@2x.png

      Meat Beats: https://meatbeats.com
      Klippr Video: https://klippr.video

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

        @dannytaurus Check this commit, I think it works the same way. I added a default property.

        https://github.com/christophhart/HISE/pull/681/commits/82fa3a1b5da881bdd569d12c96df52c1e733d695

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        dannytaurusD 2 Replies Last reply Reply Quote 1
        • dannytaurusD
          dannytaurus @d.healey
          last edited by

          @d-healey Thanks, will do 😀

          Meat Beats: https://meatbeats.com
          Klippr Video: https://klippr.video

          1 Reply Last reply Reply Quote 0
          • dannytaurusD
            dannytaurus @d.healey
            last edited by

            @d-healey I checked the commit you posted. You were adding a new default property to the DraggableFilterPanel, right?

            When I add one to the plugin UI, the only default params that show in the Data section are ProcessorId, Index and FollowWorkspace.

            In the Draggable FilterPanel docs, I see all the properties I would expect - AllowFilterResizing, ResetOnDoubleClick, etc. - but they're not in the Data section of the UI builder in HISE.

            Also, your new HandleSize default property isn't in either the Data section or the docs.

            I'm so confused! 😂

            Meat Beats: https://meatbeats.com
            Klippr Video: https://klippr.video

            ustkU 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @dannytaurus
              last edited by

              @dannytaurus I haven't checked the differences against yours, but what about this one? https://github.com/christophhart/HISE/pull/374/commits/61ed43ee88e258b61831dfbb6202ca64a5e8fbf2

              Hise made me an F5 dude, browser just suffers...

              dannytaurusD 2 Replies Last reply Reply Quote 1
              • dannytaurusD
                dannytaurus @ustk
                last edited by

                @ustk Yeah, cheers. That looks more like what I'm trying to do 🙌

                Meat Beats: https://meatbeats.com
                Klippr Video: https://klippr.video

                1 Reply Last reply Reply Quote 0
                • dannytaurusD
                  dannytaurus @ustk
                  last edited by

                  @ustk Thanks for the pointer. I added another commit other than the PR to ensure the new props are shown in the Data section of the UI.

                  Meat Beats: https://meatbeats.com
                  Klippr Video: https://klippr.video

                  1 Reply Last reply Reply Quote 1
                  • dannytaurusD dannytaurus marked this topic as a question
                  • dannytaurusD dannytaurus has marked this topic as solved
                  • First post
                    Last post

                  18

                  Online

                  2.0k

                  Users

                  12.8k

                  Topics

                  111.1k

                  Posts