commit 4842a1a3550516a856ccc9020cd7fb3eab06b6e4
parent ac1d97d41cc6ee0e64ec463363c51b2c1d2ada69
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Sun, 14 Jul 2024 16:08:49 +0200
add a bit of padding on the Y axis for edit field, it might become too small
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/source/jucePluginEditorLib/patchmanager/listmodel.cpp b/source/jucePluginEditorLib/patchmanager/listmodel.cpp
@@ -131,7 +131,10 @@ namespace jucePluginEditorLib::patchManager
{
const auto& patch = *selectedPatches.begin();
const auto row = getSelectedEntry();
- const auto pos = getEntryPosition(row, true);
+ auto pos = getEntryPosition(row, true);
+
+ pos.setY(pos.getY()-2);
+ pos.setHeight(pos.getHeight()+4);
menu.addItem("Rename...", [this, patch, pos]
{