HISE Logo Forum
    • Categories
    • Register
    • Login

    "How to make only image shape clickable on a button in HISE?"

    Scheduled Pinned Locked Moved Solved General Questions
    7 Posts 5 Posters 390 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.
    • M
      marcrex
      last edited by

      Hi everyone ;)
      I'm trying to make each button clickable but only in the coloured shape, because the square shape of hise buttons causes clickable areas to overlap. Any Idea?untitled.png

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

        @marcrex Use a panel instead of a button, or use multiple buttons with laf to style them.

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

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

          @d-healey yeah that sounds like an evening with a glass of red wine, the mouse callback of a ScriptPanel and some good old trigonometry...

          ustkU 1 Reply Last reply Reply Quote 2
          • ustkU
            ustk @Christoph Hart
            last edited by

            @Christoph-Hart I was shy to bring trigo on the table, thinking, "Well, Chris'll come with a shiny CSS trick of his own" 😁

            Pythagoras's not dead ! 😛
            a-silhouette-of-Pythagoras-contemplating-a-geometric-diagram-with-a-celestial-metaphysical-background.png

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

            Christoph HartC 1 Reply Last reply Reply Quote 2
            • Christoph HartC
              Christoph Hart @ustk
              last edited by

              @ustk nah, that's a circle and you need to calculate angles this time for real :)

              1 Reply Last reply Reply Quote 0
              • M
                marcrex
                last edited by

                All right let's play with trigonometry then 😅
                Thank you guys

                LindonL 1 Reply Last reply Reply Quote 0
                • M marcrex has marked this topic as solved on
                • LindonL
                  Lindon @marcrex
                  last edited by

                  @marcrex definitely do-able

                  https://avamusicgroup.com/products/elitist-loop

                  HISE Development for hire.
                  www.channelrobot.com

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

                  20

                  Online

                  2.0k

                  Users

                  12.7k

                  Topics

                  110.4k

                  Posts