Adaptive views
Adaptive views are alternate versions of pages designed for specific screen sizes. They allow you to create a page once and then rearrange, resize, and restyle its widgets to fit each screen size you intend to test it on. When you view the page in a web browser, the appropriate view for the browser dimensions will be shown automatically.


Adding adaptive views to a page

To add adaptive views to a page, start by clicking the canvas to focus the page itself. Then, click Add Adaptive Views in the Style pane.
If you've already created a set of adaptive views elsewhere in the project, you'll be prompted to choose from your existing sets or create a new one. If you haven't yet created any adaptive views, you'll be taken directly to the Adaptive Views dialog, where you can create a new set of views.
To remove adaptive views from a page, click Remove Views at the top-right of the Style pane.

Creating and managing adaptive views
Adaptive views are organized into sets, and you can have multiple sets in a project. To create new adaptive view sets or edit your existing ones, click Add/Edit Adaptive Views at the top of the Style pane (with a page focused), or use the Project → Adaptive View Sets menu option.


To add a new adaptive view to a set, click Add at the top-left of the Adaptive views dialog, and then configure the view with the fields on the right. You can define your own custom page dimensions or select from a number of popular device dimensions in the Presets dropdown.
New views are automatically assigned a parent view to inherit from, but you can select a different parent for a view at any time in the Inherit dropdown.
A mobile touch cursor will be used by default for any adaptive view with a defined height. You can override this with a desktop cursor in the Cursor dropdown.

Adaptive view inheritance
Adaptive view sets contain a series of views organized into a chain of inheritance. The first link in that chain, the view from which all others inherit, is the Base view. Each view you add to a set inherits its widgets and widget properties either directly from the Base view or from another view in the set.
For example, the chain of inheritance for a simple mobile-first project might looks like this:

iPhone 12 (Base) > iPad 4 > Desktop small
-
Edits made in the iPhone view would be reflected in both the iPad and Large Display views as well.
-
Edits made in the iPad view would be reflected in the Large Display view but not in the iPhone view.
-
Edits made in the Large Display view would only affect that view.
If your project calls for more platform granularity, you can create multiple chains of inheritance. For example, you may want one chain for Android devices, one for iOS devices, and one for desktop browsers. Generally speaking, though, we recommend you use only a single chain of inheritance while you're learning to work with this feature.
Editing diagrams in adaptive views
Once you've added a set of adaptive views to a page, you can access each view by clicking its name at the top of the canvas. The color of a view's name indicates whether it will be affected by edits you make on the canvas:


- Dark blue: The view currently displayed on the canvas. Edits will affect this view.
- Light blue: The Affect all views checkbox is checked. Edits will affect all views.
- Grey: The Affect all views checkbox is unchecked. Edits will not affect all views.
Furthermore, if you edit a widget property in a child view, edits to the same property in a parent view will no longer affect the child view. For example, if you change a button's fill color to pink in a child view and then change that same button's fill color to green in the parent view, the button will still be pink in the child view, not green.
To take full advantage of the benefits of adaptive view edit inheritance, we suggest you take a top-down approach to editing your diagrams, starting in the Base view and then working your way down the chain.