Preset browser font size
-
@treynterrio said in Preset browser font size:
Is there a way to disable the X in the right corner which is there to close the window?
The X is displayed because you are using showAsPopup. Use
.showControl()
instead.@treynterrio said in Preset browser font size:
and how can I use like + instead off "Add"
Look and feel. Use the
drawDialogButton
function.@treynterrio said in Preset browser font size:
also is there a way to hide the searchbar?
I added the ability to set
"ShowSearchBar": false
in the floating tile properties. However it doesn't look like Christoph has merged it yet - https://github.com/christophhart/HISE/pull/444If you have your own fork you can pull it in or use my fork's development branch (it's not yet up to date with the latest changes from Christoph though).
-
@d-healey said in Preset browser font size:
Use .showControl() instead.
this doesn't work for me when I use this the whole preset browser is invisble I've to make it visible again in the properties
-
@treynterrio said in Preset browser font size:
when I use this the whole preset browser is invisble
It's meant to be invisible until the button is pressed, right?
-
@d-healey yeah but when I press the button which should open it is still invisible
-
@treynterrio You need to add the code to make it visible, again using
showControl()
-
@d-healey I've already added this but now the open close button doesn't work no more
-
This post is deleted! -
This is what you need to put in your callback
presetPnl.showControl(value);
And you need to disable this:
-
@d-healey ok I haven't disabled it. Thanks!!!
-
@d-healey everything works perfectly now, the only thing that doesn't work is that I can't change the color of the selected preset. When I change the color in the code the whole preset name is in the same color and cannot be read
-
@treynterrio said in Preset browser font size:
the whole preset name is in the same color and cannot be read.
Not sure what you mean. They are showing up as white text in your snippet.
-
@d-healey sorry I forgot that lines
-
Still showing up for me
-
@d-healey yeah I've exported it like that to see the color that I wanna change here is the code with the problem where you can't see anything:
-
You are drawing the rectangle on top of the text. Swap it around and it will do what you want.
-
@d-healey I tried this already but when I Swap it arround the Name of the first preset isn't visible until I click on it the Text color changes to black
-
@treynterrio Like this:
-
@d-healey I did this and then this happens
-
@treynterrio Send me the snippet
-
This post is deleted!