Preset Browser Options



  • Is it possible to move the selection options at the bottom of the native Preset Browser "Add, Rename, Delete" around to a different location. & is it possible to edit them directly? Change the Font & Font size etc. ?



  • Some of this is possible and some of it requires editing the C++.

    For changing the Font & Font size, you can use LookAndFeel to customize the buttons. However, just be aware that this will change all of the HISE buttons in addition to the preset browser buttons.

    If you want to target just the "Add, Rename, Delete" buttons, you may have to throw an if statement to catch just those elements, but be sure to draw the other elements as well in an else statement. More on that topic here.

    At the moment, I don't think you can move the "Add, Rename, Delete" to a different location unless you edit the C++.



  • @Lunacy-Audio Awesome thanks for the info! 🙏🏽 I was tweaking around with the Look and Feel but I didn't see any options for those particular buttons. Didn't know about the if statements though!

    About editing the C++ though. I've been learning it lately, is it worth going in there and trying to figure that out? Do you know which folder has that particular file?



  • @D-Williams23 No problem!

    About editing the C++ though. I've been learning it lately, is it worth going in there and trying to figure that out? Do you know which folder has that particular file?

    You can find the file and the header file here: HISE/hi_components/plugin_components/PresetBrowserComponents.cpp


Log in to reply
 

12
Online

956
Users

3.4k
Topics

28.9k
Posts