MockupUI Reference Manual

Working with widgets

In this section you will find out how to:

Adding widgets

To insert a widget into a design, drag it from the widgets toolbox and drop it onto the design area where you can change its position and size. You can add content or customize a widget from the parameters panel.

MockupUI - Adding widgets

Widget geometry

Widgets can be moved or resized to the desired dimensions inside the design area or from the Widget properties tab.

MockupUI - Widget geometry

  • Selecting. Press the Mouse Left Button inside the widget's bounding box to select it. A selected widget will display a rectangular box around it.

  • Moving. Hold the Mouse Left Button inside the widget and move it to the desired position. The position of a widget is relative to center of the widget and to the top-left corner of the canvas. You can use the horizontal and vertical ruler as a guide.

  • Resizing. Hold Mouse Left Button pressed over a corner or a border of the widget and drag it to resize it.

When the mouse hovers over the borders or the corners of a widget, you will notice that the mouse pointer changes into an arrow. This tells you that a resize action is available.

Dragging a border will resize one dimension of the widget while dragging the corner will change the height and width of the widget.

If you wish to preserve the current aspect ratio of the widget, hold the Ctrl key while dragging.

Widget properties

Refer to the GUI widgets and Graphic widgets sections for a complete list of properties that are specific to each type of widget.

MockupUI - Widget geometry

Parameters

  • Position: Sets the position of the widget's center in pixels.

  • Size: Sets the widget's dimensions in pixels.

  • Rotate: Rotates the widget around its center. (Available for graphic widgets only)

  • Opacity: Changes the opacity of the widget from 0 to 100%.

  • Disabled: Renders the widget as disabled.

Widget's toolbar

lock

Lock/Unlock widget Locking a widget will make it unselectable and non-editable in the design area. By default all widgets are unlocked.

disable

Show/hide widget Hiding a widget will exclude it from rendering and it will not be visible in the design area. By default all widgets are visible.

reset

Reset to default This action will reset all the widget parameters to their initial values.

remove

Remove widget Removes the widget from the design.

Widget's popup menu

Right click on a widget to open the widget popup menu. The available widget actions are:

  • Show/Hide. Hiding a widget will remove it from the design area. If you want to make it visible you will have to do this from the Design panel.

  • Reset to Default. This action will reset the widget's parameters (such as size and position) to their initial values.

  • Lock. This action will make the widget unselectable and non-editable in the viewer.

  • Cut Ctrl+X. Remove the widget from the image and put it onto the clipboard.

  • Copy Ctrl+C. Put a copy of the widget onto the clipboard. The copy will preserve all the parameter values of the original.

  • Paste Ctrl+V. Paste the widget found on the clipboard into the currently selected image. The pasted widget will have the same position and dimensions as the original.

  • Duplicate Ctrl+D. Create a copy of the widget and paste it into the currently selected image.

  • Rename F2. Change the name of the widget.

  • Delete Del. Remove a widget from the design.

  • Ordering. Widgets are rendered in the order they have been added, meaning that the last added will overlap the previous. The order can be changed by using the Bring to Front (PageUp key) or Send to Back (PageDown key) on the selected widget. You can also change the order of the widgets by dragging the effect up or down inside the Design tab in the Parameters panel.

Changing widgets order

The Design section displays the list of widgets in the current design in the order they have been added. If you want to move one widget to the front or back of another widget grab the widget header by holding down the left mouse button, then drag and drop it before or after another widget in the stack. The new location of the widget is highlighted while dragging.

MockupUI - Widget geometry