FR: Allow column breaks in PopupMenu to be specified

Currently if you set maximumNumColumns >= 2 the menu items will be equally split between columns. This can be very awkward if you have items that should be logically grouped together appearing in different columns.

Rather than specifying the number of columns, please allow the column breaks to be specified.

Implementation:

https://github.com/reFX/JUCE/commit/74735a9bb38fe553998d603283bd8d7c7cdc431d

That would be great to merge in the trunk

2 Likes

Please also consider a LookAndFeel method to draw a vertical separator between the columns:

1 Like

+1 for this. Please. :slight_smile:

This would be a great addition.
Pretty please

It would be very handy! Please consider adding this to juce

The commits are gone because I rebased and force pushed, but the code is still in the reFX repo.

bumpity bump

1 Like

I’ve pushed a change allowing custom column breaks in PopupMenus:

3 Likes

Many thanks !!

Thanks, looks like you did column separators too! :grin:

Thanks !!!