Reputation: 8101
I've been learning C# lately, and I'm working on a context menu for a notifyicon. The context menu comes up just fine, but if the menu is too large to fit, it'll spill over onto my monitor to the right.
How can I fix this?
Upvotes: 2
Views: 450
Reputation: 28069
I have found that I can re-create this problem as shown below:
The solution seems to be to change the RightToLeft property of the context menu to Yes (right click on the menu, click properties and then select RightToLeft from the properties pane), so my context menu now looks like so:
Hope this helps!
Upvotes: 1