Default realization posture for the standalone label support widget
FROG — Free Open Graphical Language
- Default realization package posture
- Machine-readable label realization manifest
- Label default realization assets
- Label widget class law
- Executable UI primitives
This document describes the default realization posture for frog.widgets.label.
The class law belongs to Libraries/Widgets/Label.md.
This realization defines how the Default family can embody the label through SVG-backed or host-native text rendering while preserving the distinction between label.text and text.value.
rectangular
Libraries/Realizations/Default/label.default.wfrogrootbackgroundframetext_surfacefocus_ring
assets/label/templates/label_rectangular.svg
The SVG template provides geometry and anchors for the text surface.
It does not own text.value.
It uses square default corners and preserveAspectRatio="none" so
the rectangular background and frame scale to the source-owned front-panel
layout rectangle. The published background, frame,
and focus_ring parts span the full template viewBox so the frame
is the external Label border. Stroke-carrying parts use non-scaling strokes so
border thickness remains consistent across horizontal and vertical scaling.
The visible external Label frame must be homogeneous: one source-owned
style.frame.border_width value applies equally to the top, right,
bottom, and left edges after any resize. Runtimes may use a host overlay for
the visible frame only when that overlay is aligned to the published
frame part and remains driven by the source-owned frame
properties.