We will now add additional features to make this app work well on multiple device form factors.
The settings panel has a display tab that allows us to disable scaling and orientation lock to facilitate a more fluid layout. We open File, Settings, Display and uncheck “Scale to fit”.
In the previous article, we placed the form and gallery in containers to allow the sizing to fill the available space. Unfortunately, with a vertical phone layout, we have less horizontal space, so lets hide the form until we enter edit mode and vice versa. To determine if we need to respond to these settings, we will use ContactScreen.Size. We set the ContactGallery.Visible property to