Editing Widget Layout
Widget can contain multiple nested containers, and each of them has its own layout. Layout types may be combined, e.g. root panel with absolute layout may have child tabbed panel those tabs use grid layout, and one of tab's cells may have nested panel with absolute layout, etc.
Layout of each container is edited independently. However, it's possible to move components between containers.
Editing layout comprises:
- Adding new components to the widget by dragging them from palette and dropping into the work form
- Moving components from one container to another
- Moving components between two locations within one container
- Resizing components
- Cloning components
- Editing component constraints (margins, anchor, etc.)
- Drawing graphical primitives
![]() | Before reading this section make sure that you read and understood how widget layout is organized. |
![]() | The effect of all operations described in this section may be obtained by manually editing the constraints of widget components. |
![]() | It's possible to clone component by moving it to another location with the mouse when Alt key is pressed. |
![]() | It's possible to zoom the whole widget in and out using Ctrl + mouse wheel. |
Was this page helpful?