Forum Xamarin.Mac

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Handle scroll in NSMenu with custom NSMenuItem view

mall1312mall1312 Member ✭✭
edited October 2019 in Xamarin.Mac

Working on Xamarin.Mac
I have a NSMenu showing NSMenuItems with custom NSView when scroll begins, it show overflowed items on top or bottom of the menu.
NSMenu keep the text of items at top or bottom when is scrolling.

I am using the original class of NSMenu only setting NSMenuItems views with a NSTextField.

Best Answer

  • mall1312mall1312 Member ✭✭
    Accepted Answer

    Using NSTextView instead of NSTextField fixed my problem.
    I tried with other controls, only NSTextField had this issue.

Answers

  • mall1312mall1312 Member ✭✭
    Accepted Answer

    Using NSTextView instead of NSTextField fixed my problem.
    I tried with other controls, only NSTextField had this issue.

Sign In or Register to comment.