What problem does it solve?
Building UIs with Makepad 2.0 and the Splash scripting language involves many silent failure modes—invisible text, zero-height containers, ignored property overrides, and cryptic compile errors—that are hard to debug without deep framework knowledge. This Skill maps each symptom to its root cause and provides the exact corrected code.
Core Features & Use Cases
- 25+ Documented Pitfalls: Covers layout failures (height: Fit vs Fill), GPU draw batching issues (new_batch), named child overrides (
:= vs :), hex color parsing (#x prefix), animator limitations, and Modal/MapView quirks.
- Error-to-Solution Reference: Maps compile errors (missing
Live derive, live_design! macro, DefaultNone) and runtime failures (widget registration order, match_event not called) to concrete fixes, including a full Makepad 1.x to 2.0 migration checklist.
- Visual Debugging Flowcharts: Decision trees for symptoms like "nothing renders" or "text not visible", plus diagnostic techniques such as temporary debug borders and the
~ script logging operator.
- Use Case: Your Makepad app shows a colored card but the label text is invisible. The Skill identifies the missing
new_batch: true on the background container and provides the corrected Splash code.
Quick Start
Ask the assistant to diagnose why your Makepad 2.0 UI text is invisible or why a widget click handler never fires, and apply the recommended fix.