xamarin / Xamarin.PropertyEditing

MIT License
24 stars 16 forks source link

Fix API not supported on Catalina #830

Closed BretJohnson closed 1 year ago

BretJohnson commented 1 year ago

NSTableView.FullWidth is only explicitly supported on Big Sur and later, so don't set it for older versions of macOS. For older versions of macOS, FullWidth is apparently the default so doesn't need to be specified.

This updates the layout UI tweaks included in https://github.com/xamarin/Xamarin.PropertyEditing/pull/817.

Fixes AB#1776438

BretJohnson commented 1 year ago

@mrward Good to know on the OperatingSystem.IsMacOSVersionAtLeast OS version check. Thanks. Here I think I'll stick with using MacSystemInformation because it seems to be the most common (for better or worse) method used currently.

BretJohnson commented 1 year ago

@gitbot backport d17-6

vs-mobiletools-engineering-service2 commented 1 year ago

Backport Job to branch d17-6 Created! The magic is happening here

vs-mobiletools-engineering-service2 commented 1 year ago

Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7540569 for more details.