Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio - Menu Options - Float Right or Left

I clicked on something in Visual Studio 2017 and now all the dropdown menu options are floating to the left instead of the default right. Below is a print screen of how it should look...

enter image description here

But I get something like this, floats to the left ...

enter image description here

I've gone through the options pretty thoroughly but I can't seem to find the option for this. Does anyone know where the option to control this is?

like image 925
vscoder Avatar asked Sep 07 '26 23:09

vscoder


2 Answers

The direction of the menus in Visual Studio is actually controlled by a setting on OS level. On recent versions of Windows, it's pretty well hidden but you can directly run the following in the Windows -> Run dialog (Win+R) to open the settings dialog:

explorer shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E}

and change the radio button in Tablet PC Settings -> Other -> Handedness to Right-handed.

like image 125
Borislav Ivanov Avatar answered Sep 13 '26 08:09

Borislav Ivanov


You can change the horizontal direction that the menus in Visual Studio roll out to by editing the registry as well (useful if the "Other" tab in Tablet PC Settings is not visible on your instance of Windows).

Open the registry (type regedit in the start menu and press Enter).

Navigate to this location:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows

If you don't have an entry called MenuDropAlignment, right click and create a new StringValue (REG_SZ) called MenuDropAlignment.

Change the value of MenuDropAlignment to be whichever way you want the menus to open to.

0 = Menus open to right (this is the "normal" way that most people expect the menus to open)

1 = Menus open to left

Once you have finished making this change, close everything and restart your machine.

like image 28
ThePeter Avatar answered Sep 13 '26 09:09

ThePeter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!