Dropdown for Floating Tile
-
Hello,
Im trying to create a simple dropdown for a Floating Tile containing the "CustomSettings" option. I have messed around with some Hise Snippets Ive come across on the site & been able to get a hidden Panel to pop up and go away successfully, but when I try to add in the Floating Tile, things go south (I assume because the other items were added via Script while the floating tile with Custom Settings was not).
Most codes Ive come across on the site seem to be for a bit more complicated functionalities than Im looking for. Any suggestions on this dropdown "CustomSettings" menu?
-
You can't add things to a floating tile, they are predefined. You can add one to a panel though.
-
@d-healey Thanks. I was able to get a panel to dropdown using a HiseSnippet that was for a Dropdown menu with multiple buttons. Once I tried adding the custom settings to it, it would no longer drop down and retract, it would just stay one or the other.
Could you point me in the direction of a bit of documentation that could help? im shit at scripting right now but learing a bit as i go here. I scrolled through your Patreon as well and didnt see anything for this particular issue. Maybe I was scrolling to fast lol.
-
What's the end goal you're trying for?
-
@d-healey Just a dropdown panel for the user CustomSettings. That is all I want to display in the dropdown.
Click the button, customsettings panel appears (change sample file location, sound driver, audio device, MIDI CC, etc). Click the button again, the panel retracts.
It would be great to still be able to edit the colors/look of the dropdown panel as well.
-
Let's break it down into steps.
Add a button to the UI with a custom callback.
Add a panel and inside the panel you put a custom settings floating tile.
Inside the button's callback make it show or hide the panel.
-
@d-healey When I right-click button and click custom callback, nothing seems to happen & I dont see in "Interface Property Editor" anywhere it added callback settings.
Able to get panel and custom settings floating tile inside.
Again, not able to find callback settings for button.
Im sure its as simple as can be but where is the Callback functions for the button hiding?
-
@d-healey Also, when right-clicking on button after creating callback, I can see a "Show Callback" option at the bottom of list but does not allow me to click this option.
-
I think you need to backup a bit and get some of the basics down.
-
@itsmochajones said in Dropdown for Floating Tile:
@d-healey Also, when right-clicking on button after creating callback, I can see a "Show Callback" option at the bottom of list but does not allow me to click this option.
Watch the videos of David and the lights will go on :-)
-