Adding an element to the canvas

To add a widget, click its name in the Toolbox and hold the mouse cursor down. As you begin to drag the widget, Studio changes the mouse cursor so that it includes the icon for that widget. Studio places a green line on the canvas at every location on the canvas that it is possible to place the widget. Studio highlights the green line that is nearest on the canvas to the cursor. Studio also overlays in green the element containing the highlighted green line.

  • If the widget is a menu item of some sort, Studio overlays in green those widgets that can accept the item as a menu item.
  • If a green widget is closer to the cursor than any of the green lines, Studio overlays it with a brighter green.

If you click Esc, Studio cancels the action, returns the cursor to normal, and makes the green lines and overlays disappear.

If you click again (or end the dragging operation), Studio adds the new widget at the location of the highlighted green line. (Or, Studio adds the widget as a child of the highlighted widget.) Studio sets all attributes of the new widget to their default value.

After Studio adds the new widget to the canvas, the cursor returns to normal and the green lines and overlays disappear. Studio selects this new widget automatically.