Skip to content

Latest commit

 

History

History
89 lines (66 loc) · 2.62 KB

File metadata and controls

89 lines (66 loc) · 2.62 KB

FROG logo

Default Realization — Label Widget

Default realization posture for the standalone label support widget
FROG — Free Open Graphical Language


Navigation


1. Overview

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.


2. Published Default Variant

  • rectangular

3. Machine-Readable Manifest

Libraries/Realizations/Default/label.default.wfrog

4. Public Parts Realized

  • root
  • background
  • frame
  • text_surface
  • focus_ring

5. SVG Template Asset

  • 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.