Way to disable button and not make the UI transparent?
-
I'm setting up a UI where there are several sets of buttons that interact with each other.
One is a status light and the other is a button.
I only want the button to be user editable but I want the light to change to match it.
I can get the behaviour I want by linking the light and button and then disabling the light. But when I do so the light becomes semi-transparent.
Is there another way to achieve this or turn off this behaviour where disabled components change their transparency?
Here is a small screenshot of the UI if it helps demonstrate what I'm trying to achieve.
-
@optimistic Place an invisible panel over the thing you don't want the user to access.
-
@d-healey This was my first thought and I tried this too but the clicks are passing through.
Is there a setting I need to enable to block this?
-
@optimistic I haven't experienced that, are you sure the z-order was correct?
-
@d-healey I think so.
I placed this new panel at the very top of my component list
-
@optimistic It needs to go below the control. You can change the panel's colours to see if it's covering the control or if it's beneath it.
HiseSnippet 720.3ocsUsraSCDEclzLUMAZEUhO.urUpT4.kBRrfPdghf1FgKUrqZ53I0ih8LV1iawBwuA64OgOIVyF3N1NwtznPqkvKr78849zShTLdbrJBgacZZHGgeHwIUp856QERz3AH7VjinwZdjUNqdogz3XtKBiW6sFF3VMQYO+708n9TIiWxBgNSIX72KBD5RtS59Ngu+HpK+TQPEsOn6XlR1W4qR.7rFwFERYynWxOlZTqAAgWenqPqhbzTMOFzomxM0wScsLW+yDwhK74FhNHGvQ4rQ88D9tSlmqwHDt4jxLes7L+wjiDthE7Kq.OJSfUoEUqA3FqBRctGPBWARMygz1DGVjHTWJwfmGPFKgFxTJTpqBkbcQ3eP5q.Ej58Cny3ih.hEFryg116YAu18USSjLsPIsTxiUZ9Ixc1s8WZ2p8Waa82hlNcoxLgIR46yiVpXS2MZUFtiLI3BdzdVWQ8S3KTDR+aVSW+tUSY4YcEEUxwRg9jPdA8HkuqoVY991c.TQYyzKJPHnpNqSrUQmnWhVqjHA3jVjbhNnL3WcpG8wwCnZ5bGA9DhSHORKLoCd.+JXqHuE2hLfGOSqBgA79pfPkzf.by6PX+LBSveChVp4iuixxfEdX8bOr47QHpj6m4fMHYemY+bHeZ2zRhAcuV3p8LNsKFg73hK8zFpeks8dqoTX+P4l3S02bowbcnP.z0uwjpYbTFKzoUudbO1jrW4lzcEhaSlHzLukiwFKAiP+7+AFKt+rIY3zobltDfMIi9TcO17OB+GTIZg7xin5HgYN53j.G3rKiCQWBSGwl9cCyDUNssg1TAb3R2LheCOEB6XnwEB6LWHJfxhTmyx2jLW31HiCfIY1A8VveV.ZqEKPDh891n.3X64LlI8eBrltbadZMr4Y0vlCpgMOuF1bXMr4E0vlWtRaL+m6MIZUP95.vXxvrCYX7PIElrxlBQ+APqoR+
-
@d-healey Ah, that's the issue then! I have it working now. Thanks!