PresetBrowser - More LAF
-
So this seems to be todays theme, and I have a project that needs to use the existing preset browser - despite me spending years building a custom tag based one...
so here we are:
So things I want to do:
- Change the text of "Save Preset"
- remove those ugly gaps between the columns...
cant see anything in the docs to cover these...
-
@Lindon said in PresetBrowser - More LAF:
cant see anything in the docs to cover these...
This is the video for you
https://www.patreon.com/posts/customising-with-105377992The gaps can be hidden by drawing the preset browser background (might be other ways as well, can't remember).
End result is like this.
-
@d-healey yes, but...see how those columns have a gap between them????? I guess drawing a background might work.
..and renaming "Save Preset"?
-
@Lindon said in PresetBrowser - More LAF:
I guess drawing a background might work.
Yes it will, that's what I said above :)
drawPresetBrowserBackground
@Lindon said in PresetBrowser - More LAF:
..and renaming "Save Preset"?
In the video I show how to customise the button. I'm changing it to an icon but you can just change the text using the same method. If I remember correctly the laf method you need for this is
drawDialogButton
-
@d-healey ok thanks I will go watch the video.