Page 1 of 1

VST menu wrap instead of scroll

Posted: Fri Jun 16, 2023 1:28 pm
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 13656 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 13637 times
You can alternatively change MaxHeight="{x:Static SystemParameters.FullPrimaryScreenHeight}" to something like MaxHeight="600" or something else to your preference.

Re: VST menu wrap instead of scroll

Posted: Sat Jun 17, 2023 10:46 am
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.

Re: VST menu wrap instead of scroll

Posted: Sun Jun 18, 2023 7:40 am
by mute
oh right, nice! almost forgot about that

Re: VST menu wrap instead of scroll

Posted: Fri Jul 14, 2023 10:28 am
by skizzo
This is one tiny problemsolver - thanks a lot for sharing!!!