FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

pythonnative/docs/api/layout.md at v0.43.1 · pythonnative/pythonnative · GitHub

Repository navigation

Latest commit

 

History

History
29 lines (23 loc) · 1000 Bytes

File metadata and controls

29 lines (23 loc) · 1000 Bytes

Layout

The Python binding to Yoga's C++ flexbox engine. Headless tests use [LayoutNode][pythonnative.layout.LayoutNode] and [calculate_layout][pythonnative.layout.calculate_layout] to compute frames (x, y, width, height) with stub intrinsic measurements.

Mobile renderers compile the same Yoga core into their native libraries and measure content beside their widgets. The browser preview runs Yoga WebAssembly. Those renderers return changed frames to the Python reconciler through the bridge.

For a conceptual overview, see Layout engine.

::: pythonnative.layout options: show_root_heading: false show_root_toc_entry: false members_order: source filters: ["!^_"]

Next steps


Back | FazBrowse Home | New Git URL