VST menu wrap instead of scroll

Post Reply
mute
Posts: 417
Joined: Mon Nov 21, 2011 8:30 pm

VST menu wrap instead of scroll

Post by mute »

Once upon a time before some updates changed how things work, VSTs used to wrap around in the menu instead of scroll.

You can get that back with this...

ex. default theme ... open up Buzz\Themes\Default\MachineView\MVResources.xaml
search for <Style x:Key="ContextMenuItemStyle">
change it to look like this
change.png
change.png (28.21 KiB) Viewed 1421 times
you add the highlighted bit:

Code: Select all

<Setter Property="MenuItem.ItemsPanel">
	<Setter.Value>
		<ItemsPanelTemplate>
			<WrapPanel Orientation="Vertical" IsItemsHost="True" MaxHeight="{x:Static SystemParameters.FullPrimaryScreenHeight}"/>
		</ItemsPanelTemplate>
	</Setter.Value>
</Setter>
fix.png
fix.png (284 KiB) Viewed 1402 times
You can alternatively change MaxHeight="{x:Static SystemParameters.FullPrimaryScreenHeight}" to something like MaxHeight="600" or something else to your preference.
User avatar
IXix
Posts: 1113
Joined: Wed Nov 23, 2011 3:24 pm

Re: VST menu wrap instead of scroll

Post by IXix »

You sir are a hero. :dance:

It's not just the VST menus, it fixes the menus for machine attributes too. Numeric attributes with more than a handful of possible values were almost useless before because they made ridiculously long menus, but now the values wrap into columns it's not a problem. Fantastic.
mute
Posts: 417
Joined: Mon Nov 21, 2011 8:30 pm

Re: VST menu wrap instead of scroll

Post by mute »

oh right, nice! almost forgot about that
User avatar
skizzo
Posts: 6
Joined: Mon Nov 01, 2021 2:26 pm

Re: VST menu wrap instead of scroll

Post by skizzo »

This is one tiny problemsolver - thanks a lot for sharing!!!
Post Reply