HISE Logo Forum
    • Categories
    • Register
    • Login

    How to change shape of popup background?

    Scheduled Pinned Locked Moved Unsolved Scripting
    3 Posts 2 Posters 194 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.
    • It_UsedI
      It_Used
      last edited by

      I need to create rounded popup background.

      So far, I've only found this solution:

      0a9f4fb5-8da8-426d-825a-35422c0498ea-image.png

      Code:

      // Draw popup bg.
      cmbResizeLaf.registerFunction("drawPopupMenuBackground", function(g, obj)
      {
      	
      	// Draw bg.
      	g.fillAll(Colours.black);
      	g.setColour(0xCECECECE);
      	g.fillRoundedRectangle([0, 0, obj.width, obj.height], 5);
      	
      	
      });
      
      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @It_Used
        last edited by

        @It_Used This has been an issue for a while, the background of the popup menu is solid, so unless you can make it the same colour as your plugin's background, you will always see the corners.

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

        It_UsedI 1 Reply Last reply Reply Quote 0
        • It_UsedI
          It_Used @d.healey
          last edited by

          @d-healey This is very bad for me :(
          But thanks for the reply anyway ❤️!

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

          23

          Online

          1.9k

          Users

          12.5k

          Topics

          108.4k

          Posts