Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
lawrence_shaun_introducing_net_maui_build_and_deploy_crosspl.pdf
Скачиваний:
46
Добавлен:
26.06.2023
Размер:
5.15 Mб
Скачать

Chapter 7 Accessibility

Figure 7-3.  Your application showing responsiveness to font scaling

Preferring Minimum Sizing

Where possible, you should use MinimumWidthRequest and

MinimumHeightRequest over WidthRequest and HeightRequest, respectively. This allows for controls to grow. There may be scenarios where a combination of Minimum and Maximum property values will give a good experience when scaling is introduced.

Font Auto Scaling

By default, all controls that render text in a .NET MAUI application have the FontAutoScalingEnabled property set to true. This means that the controls automatically scale their font size accordingly when the operating systems font scaling settings are changed.

214