<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Added ShowFolderRows option to Preset Browser]]></title><description><![CDATA[<p dir="auto">I'm using a single-column preset browser in my plugin, but wanted a way to show folder breaks in the list. The interim was to write tiny folder name text at the top of the preset row that changes folder, but it's a hack and looks terrible anyway.</p>
<p dir="auto">So I had Claude add a <code>ShowFolderRows</code> JSON param to the native preset browser:</p>
<pre><code># How to use it

const var data = {
    "Type": "PresetBrowser",
    "NumColumns": 1,
    "ShowFolderRows": true,
    ...
};

# And optionally in your LAF script:

laf.registerFunction("drawPresetBrowserFolderRow", function(g, obj)
  {
      g.setColour(Colours.withAlpha(obj.textColour, 0.5));
      g.setFont(obj.font, obj.fontSize - 2);
      g.drawAlignedText(obj.text, obj.area, "left");
  });
</code></pre>
<p dir="auto">So now I have nice folder breaks in my single column preset list:</p>
<p dir="auto"><img src="/assets/uploads/files/1785244498990-cleanshot-2026-07-28-at-14.14.46-2x.png" alt="CleanShot 2026-07-28 at 14.14.46@2x.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I know the general consensus is "if you don't like the native preset browser, build your own". But I didn't want to script my own preset browser just for this one extra feature, because the native preset browser is battle-tested and has really nice mechanics for free.</p>
<p dir="auto">I also know this is <em>highly</em> unlikely to get accepted upstream but I made a PR that might help someone else who is looking for the same feature in the future:</p>
<p dir="auto"><a href="https://github.com/christophhart/HISE/pull/1009" rel="nofollow ugc">https://github.com/christophhart/HISE/pull/1009</a></p>
]]></description><link>https://forum.hise.audio/topic/14956/added-showfolderrows-option-to-preset-browser</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Jul 2026 15:49:21 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/14956.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Jul 2026 13:16:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Added ShowFolderRows option to Preset Browser on Tue, 28 Jul 2026 14:22:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a> Yours always seems to be more generally useful than mine though <img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/android/1f602.png?v=fba14f4754a" class="not-responsive emoji emoji-android emoji--joy" style="height:23px;width:auto;vertical-align:middle" title=":joy:" alt="😂" /></p>
<p dir="auto">This one is pretty niche but I'll likely be using single column preset browsers in most of my plugins, so it's really useful for me.</p>
]]></description><link>https://forum.hise.audio/post/122194</link><guid isPermaLink="true">https://forum.hise.audio/post/122194</guid><dc:creator><![CDATA[dannytaurus]]></dc:creator><pubDate>Tue, 28 Jul 2026 14:22:42 GMT</pubDate></item><item><title><![CDATA[Reply to Added ShowFolderRows option to Preset Browser on Tue, 28 Jul 2026 13:51:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/357">@dannytaurus</a> said in <a href="/post/122191">Added ShowFolderRows option to Preset Browser</a>:</p>
<blockquote>
<p dir="auto">I also know this is highly unlikely to get accepted upstream</p>
</blockquote>
<p dir="auto">I've made a lot of PRs related to the preset browser over the years, most of which (possibly all) have been merged. This seems like a good candidate.</p>
]]></description><link>https://forum.hise.audio/post/122192</link><guid isPermaLink="true">https://forum.hise.audio/post/122192</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Tue, 28 Jul 2026 13:51:16 GMT</pubDate></item></channel></rss>