- Easy Web Development with WaveMaker
- Edward Callahan
- 351字
- 2021-08-13 16:20:37
Working on the canvas
The canvas area itself is the visual representation of our project. Visual components are added by selecting a widget from the Palette and, dragging and dropping the widget onto the canvas.
Once placed on the canvas, widgets can be moved around using drag-and-drop and can also be edited using copy, cut, and paste. Widgets can also be rearranged directly in the model tree. For example, selecting the button we placed on layer1
enables us to drag-and-drop it into layer3
. In both cases, Studio provides two indicators while the widget is droppable. First, a green or red bar indicates if the selected widget can be dropped there. Visual components can be deleted but they cannot be dropped off the canvas. Attempting to do so will show the red bar and the drop will be ignored. The orientation of the bar also indicates the orientation of the target panel.

The other assistant is a pop-up box that indicates what is being put where. This confirms which widget is being moved and where it is being moved to. The target is expressed as into or after. These should be read as "placing widget X into container Y" or "placing widget X after widget Y (in Y's parent)."
Tip
Sometimes you can’t drop a new widget exactly where you want it on the canvas for one reason or another. In such cases, drop the widget anywhere on the canvas, usually close to where you want it, then move it to where you want it either via the model tree or placement within the canvas.
So far we've been using a left mouse button click-and-hold technique to manage widgets on the canvas. Widgets on the canvas also have a right-click pop-up menu. The best known use of the right-click menu is to Edit Columns of a Dojo grid. All of the choices in this menu are also available via the properties of the widget. However, the right-click menu can be a convenient shortcut to use. The Wrap in Panel operation, for example, can be most helpful when building out forms.
- Django+Vue.js商城項目實戰(zhàn)
- 零起步玩轉掌控板與Mind+
- Building Modern Web Applications Using Angular
- C語言程序設計基礎與實驗指導
- Visual FoxPro 程序設計
- SQL for Data Analytics
- 網頁設計與制作教程(HTML+CSS+JavaScript)(第2版)
- R語言編程指南
- 差分進化算法及其高維多目標優(yōu)化應用
- concrete5 Cookbook
- R Data Analysis Cookbook(Second Edition)
- 硅谷Python工程師面試指南:數據結構、算法與系統(tǒng)設計
- Java編程的邏輯
- C++20高級編程
- AutoCAD 2009實訓指導