12 lines
782 B
Markdown
12 lines
782 B
Markdown
# Form designer
|
|
|
|
Graphic apps (`JumPHP\Gui`, no HTML) describe their windows in `forms/<Name>.form.yaml`. The IDE opens them in a visual editor
|
|
(**Design**, or **Code** for the YAML).
|
|
|
|
- **Palette**: label, button, textbox, checkbox, radio, combobox, listbox, slider, progress bar, image, video, spacer, separator, and
|
|
the containers column, row, grid (12 columns with spans per screen width), stack, panel.
|
|
- Drop widgets, move them by dragging, set them in the **inspector** (texts, sizes, `grow`, alignment, spans, hidden on small screens).
|
|
- **Double click** a widget: its first event is wired, the method is written into `src/Form/<Name>.php` and the editor opens there.
|
|
- The YAML stays the source: it is completed and checked in Code mode.
|
|
|
|
More: [docs/gui.md](../gui.md).
|