What is this toolbar?
After you’ve added one or more adaptive views, you will see the views listed in this toolbar in the order of inheritance. If you have multiple views inheriting from the Base, you’ll see multiple toolbars.
Clicking on one of the views will display that view in the wireframe pane.
What happens when I make a change?
Changes to properties like widget text, interactions, and default disabled are not adaptive. So a change to any of those properties affects the widget in all views.
Changes to a widget’s location, size, style, or interaction styles are adaptive, meaning they can be different on different views.
A widget in an adaptive view inherits its location, size, and style from its location, size, and style in the parent view.
The rules for inheritance
-
If you make a rectangle blue in the parent view, it will be blue in the child view.
-
If you make it blue in the child view, it will not affect the parent view.
-
If you make it red in the child view, and then blue in the parent view, the child will stay red because you’ve already “overridden” it in that view.
How do you know what views will be affected when you make a style change?
The colors in the adaptive toolbar tell you you which views could be affected.
Blue - The view you are currently seeing and editing
Orange - Child views that could be affected by style changes to the selected view
Grey - Views that will not be affected by style changes
Green - If you check “Affect all views”, all of the views will turn green and style changes will affect all views
Example - Making a widget blue in a child view
Let’s say you have 3 views, the Base, 768 that inherits from Base, and 320 that inherits from 768. If you make a widget blue in the 768 view, it will make that widget blue in 768 and 320, but not in the Base view.
Example - Changing the text on a widget
Changes to properties like Widget Text are not adaptive and always affect all views. Using the same setup as above, if you edit the text in 768, it will change the text in the Base, 768, and 320 views.
Adding and removing widgets from views
When you add a widget to a view, it is added to all of the other views. BUT in the parent views it will be marked as “Unplaced” so you won’t see it in the view.
When you delete a widget from a view, it will “Unplace” it from the current view and the child views. BUT it will not be removed from the parent views. The widget will be fully deleted if it is Unplaced in all of the views.
What is Unplaced?
An Unplaced widget does not exist in the view, but it is not deleted from the page because it could exist in another view. This was introduced so if you had 30 extra widgets in the desktop view, you wouldn’t have to see them in your mobile view.
When a widget is unplaced it will be red in the Widget Manager.
How can I completely delete a widget?
A widget will be completely deleted from the page when it is unplaced in all views. Generally speaking, if you delete the widget on the view where it was added, that will frequently mean it is unplaced in all views and will be deleted.
How do I add an unplaced widget to a view?
Open that view. Then, right-click on the widget in the Widget Manager and select Place in View.