resizable scriptpanel
-
If I have a panel with some stuff in it, a knob, button etc..
If I make the panel resizable like this:
would it be possible to set areas in the panel, that always will be accessible via the mouse callback?
If the drag handles are just right over a component, I am unable to access the panel,Or should I just rethink and try to do this with a a panel inside a Viewport or something?
HiseSnippet 1358.3ocsW8tbaSDD+TRToxPKTFd.tweRl35Z2zFnTJw1INfGRbLwokVxjobQ5r0MQ9NORmSpgl2h9vvqAu.L7I9LuAk8tS1RJ0Is0C0evZt8u+18Vs6ptQBOZbrHBY4bvjQTj0mX2aBWFrY.gwQs2BYcK68owrei133PZWBmFhZNYDINl5irrV96UhY4rBR+6e2nIIjv8nojPnmHXdzcXCYxTpcq+irvvsI9zCXCyH88p21Sv2TDJFCPZY6pnQDuSHCncHJwVxFYcsV9LoHpmjHowHqUZJ7mzKPbF2H+SXwL.opC0P8.CYHusHzWgXEUzlArP+tSC8XDXktoIhkMIhuvdWlOaF8zDxmoYfS0Ha9vZo7va4bvqVV3UMC7lCjrx.oULP5V187hXijobT34isaykzn9DHsmEJFYQKsts8lBPBtrxPxIzsifCyzvc8pUKig+J8vBEfTerDeJIB2syN3Ggmp1.pbSwvQBNbvsHvqnRZ3YkXprKjWj6KFKYbpa+wbOISvcGTpvuWvYPk9v0bivPWyUZbkAQzIfxNEbTtg.NQFvhUdXGgGIroXL2O1UgFs.mw7kAfP0pp0YfxgFSMyhGGBUHFSdm6TvouHB6x.Up9PLC+sOBOhDESg30kb3cO5NZCVBXs5pkJ3.PDroeD4rFgrAbp+AzW.QX8hkwGpk7KYkwjCW6naqOUFm8wQkwE8fLRD0WkObNWAgqx8q893dEZy4UETdqtedInyXxfFgiBHoTBXRZYb0J2ujRSCD1m5Icy41qHvqA5cdlhfcEiioaRBCOFtLRqBnmB.TWIrH21r9XiEp3Ex7Ng5ie4KwFB.fGjj.eCo.5NNZ+3SjjY59H7gFwdQ4DiLo7L37yJO6VJkvOPYCBjtkNBPB.EGZXLEdnbnFpiDwSilrdQIsRbGf+gUOB+cJAmkRwa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dep0XAuW5jbZyXIVgNLIse1sWLu1nQiNTMQtzUThcbbFoDKomIKnbrWLlWC5OaZPWAmc1kNvHzP8AEAFMAvu82ctPSqIxFkQyUnHPio80RhukbgjnyucQlfj9DLosXQSGmKobJGGGp92zcu.NvG4YGmqW7a01jiFWfoIYkq72q+JbBX9wKEFU8DfAduM5z5W2n.a2XZ0Q2BW3dTJ3vFofgM9ZiwPgM9IXPFPXiJfNenhmh6FN+7yGUxtgLwGIBgRmNv495ojDo6Q7XChzkCGfKdY1w3Qp0wp99V4BtRK9EwZW9KYo6Xjtz09djrXyW5KY7+6k9jOb.dxhvafOQV7cLpGukNAzDpviGTOPfC2vXn9i69O6wMWUDuMtMS51qbFmqDFU8r9DvX5SBWDuQ2tTWYNfKf27IeZd+GZOw.IieLbQ1Plpzb2A86.ENtTH5bnBVcI.i4TsqSFWOqpsCk6EO.5nLJcxFpwFoS1HaRTehan3EtI8mUO575wR.l3wu21DuiZrUirFxXb8Z0Q8g2+9BWW0x+NvMHJ2lUlAat6LXy8lAa91Yvl6OC17cyfMe+kZi5+5gUGHE8S1N.BZuQ7EiLL1fSfJq3pPz+BQeltd
@Christoph-Hart could I ask for a feature request, a panel with the options:
ScriptPanel.showHandles(true / false) // Meaning that with this area, you can resize the panels height and width ScriptPanel.set("handlesWidth, 10);
and that the handle area is opaque and always accessible
via mousecallback?