Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Lists common Makepad 2.0 and Splash pitfalls with their symptoms, root causes, and fixes.
45% 95%+50 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
Not used yet
This skill covers common mistakes when building with Makepad 2.0 and the Splash scripting language. Each pitfall includes:
Reference documents: AGENTS.md, splash.md
Symptom: Your entire UI or a section of it does not appear. The container renders with zero height, making all children invisible.
Root Cause: All View-based containers (View, SolidView, RoundedView, etc.) default to height: Fill. When a Fill container is placed inside a Fit parent (or any context where the available height is determined by children), the height resolves to 0px due to circular dependency: the parent asks the child how tall it is, the child says "as tall as my parent", and the result is zero.
Fix: Always set height: Fit on containers that should shrink-wrap their content.
// WRONG -- height defaults to Fill, resolves to 0px in a Fit context
View{
flow: Down
Label{text: "Hello"}
}
// CORRECT -- height: Fit makes the container wrap its children
View{
height: Fit
flow: Down
Label{text: "Hello"}
}
Rule of thumb: Write height: Fit immediately after the opening brace of every container unless you have a fixed-height parent or you explicitly want height: Fill inside a known fixed-size ancestor.
Exception: Inside a fixed-height parent, height: Fill is valid:
View{
height: 300
Next to this one in the catalogue, plus more from the same author.