{"id":"ui--yuiLayoutItem","name":"yuiLayoutItem","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiLayoutItem","description":"A yui layout item record carrying id, parentId, kind, source, intrinsicWidth, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"id","kind":"field","type":"text","description":"Stores id as text.","signature":"text id","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"parentId","kind":"field","type":"text","description":"Stores parent id as text.","signature":"text parentId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"kind","kind":"field","type":"text","description":"Stores kind as text.","signature":"text kind","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"intrinsicWidth","kind":"field","type":"int","description":"Stores intrinsic width as int.","signature":"int intrinsicWidth","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"intrinsicHeight","kind":"field","type":"int","description":"Stores intrinsic height as int.","signature":"int intrinsicHeight","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"minimumWidth","kind":"field","type":"int","description":"Stores minimum width as int.","signature":"int minimumWidth","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"minimumHeight","kind":"field","type":"int","description":"Stores minimum height as int.","signature":"int minimumHeight","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"maximumWidth","kind":"field","type":"int","description":"Stores maximum width as int.","signature":"int maximumWidth","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"maximumHeight","kind":"field","type":"int","description":"Stores maximum height as int.","signature":"int maximumHeight","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"padding","kind":"field","type":"int","description":"Stores padding as int.","signature":"int padding","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"gap","kind":"field","type":"int","description":"Stores gap as int.","signature":"int gap","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"weight","kind":"field","type":"int","description":"Stores weight as int.","signature":"int weight","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"horizontalAlignment","kind":"field","type":"text","description":"Stores horizontal alignment as text.","signature":"text horizontalAlignment","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"verticalAlignment","kind":"field","type":"text","description":"Stores vertical alignment as text.","signature":"text verticalAlignment","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"clipChildren","kind":"field","type":"bool","description":"Stores clip children as bool.","signature":"bool clipChildren","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiLayoutItem","kind":"constructor","parameters":[{"name":"id","type":"text","description":"Id."},{"name":"parentId","type":"text","description":"Parent id."},{"name":"kind","type":"text","description":"Kind."},{"name":"source","type":"text","description":"Source."},{"name":"intrinsicWidth","type":"int","description":"Intrinsic width."},{"name":"intrinsicHeight","type":"int","description":"Intrinsic height."}],"returns":"void","signature":"yuiLayoutItem(text id, text parentId, text kind, text source, int intrinsicWidth, int intrinsicHeight)","description":"Yui layout item.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","ui"],"exampleId":"method-ValidationIssue-17","updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-18","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/layout-definitions.yh","line":103,"sha256":"530806f770781200ee6832718f8332fc198d13c4d8400a3fc7cf651e5577823b"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use yuiLayoutItem","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiLayoutItem sample = yuiLayoutItem(\"id\", \"parent Id\", \"kind\", \"example\", 1, 1)\nConsole.Log(Text.From(sample.id))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutitem\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"09e9ed0a071a1f7a8c9ad6655ace20a5ffcb86257024c1e4c3819f60de222bbe","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-17","title":"yuiLayoutItem.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Validation issue.\nyuiLayoutItem instance = yuiLayoutItem(\"id\", \"parent Id\", \"kind\", \"example\", 1, 1)\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutitem\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"24747353a615991f9d762a8b75e6b920a3cdfdb7202df90de07071236203ff4e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-18","title":"yuiLayoutItem.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Describe.\nyuiLayoutItem instance = yuiLayoutItem(\"id\", \"parent Id\", \"kind\", \"example\", 1, 1)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutitem\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"912d1d502f08660d4a0e6a1684e99071f83044337d2462d95c98da7b01eb1347","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["id","parentId","kind","source","intrinsicWidth","intrinsicHeight","minimumWidth","minimumHeight","maximumWidth","maximumHeight","padding","gap","weight","horizontalAlignment","verticalAlignment","clipChildren","yuiLayoutItem","ValidationIssue","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiLayoutItem","json":"https://demonhunterlabs.com/reference/items/ui--yuiLayoutItem.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiLayoutItem.md"}
