We’ve been working on this article. Please let us know how useful this new version is by voting.
You can use the Move on Device UI Pattern to define the placement of information depending on the device.
How to use the Move on Device UI Pattern
In Service Studio, in the Toolbox, search for
The Container widget is displayed.
If the UI widget does not display, it may be because you used a ready-made app, which deletes unused widgets from the module. To make additional widgets available in your app:
a. Go to Module > Manage dependencies.
b. Search for and select the relevant Producer, for example OutSystemsUI. Ensure Show All is selected.
c. On the Public elements for the selected Producer displayed on the right, ensure Show All is selected.
d. Search for and select the element you want to add, and click Apply.
e. In Service Studio, in the Toolbox, search for the widget again.
From the Toolbox, drag the Container widget into the Main Content area of your application's screen.
On the Properties tab, enter the container name.
Repeat steps 2 and 3 for as many containers as you need in your app.
From the Toolbox, drag the Move on Device widget into the Main Content area of your application's screen.
Add the required content to the Move on Device widget.
In this example, we add an image by dragging the Image widget into the Move on Device widget and selecting an image from the sample OutSystems UI images.
To define where the image appears depending on the device, select the Move on Device widget, and on the Properties tab, set the PhoneWidgetId and TabletWidgetId properties.
After following these steps and publishing the module, you can test the pattern in your app.
|PhoneWidgetId (Text): Optional||Target container that displays this widget on phones.
|TabletWidgetId (Text): Optional||Target container that displays this widget on tablets.