configuring-slots

Configure ReactUMG CanvasPanelSlot layouts with Anchors and Offsets.

1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/15195999826/LomoMarketplace --skill configuring-slots
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: configuring-slots
Source: https://github.com/15195999826/LomoMarketplace/tree/main/plugins/UE_ReactUMG/skills/configuring-slots/SKILL.md
Command: npx skills add https://github.com/15195999826/LomoMarketplace --skill configuring-slots

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CanvasPanelSlot requires special mapping between Blueprint and TypeScript for anchors and offsets, while other slot types map directly. This Skill guides correct mapping rules.

Core Features & Use Cases

  • CanvasPanelSlot mapping: Point vs Range anchors logic and corresponding Offsets.
  • 19 slot types quick reference: knowledge that most slots map directly except CanvasPanelSlot.
  • Practical layouts: examples for fixed-position, full-bleed, and centered layouts.

Quick Start

Define a CanvasPanelSlot with proper Anchors and Offsets, then assign it to a CanvasPanel.

Frequently Asked Questions about configuring-slots

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure CanvasPanel slots with anchors and offsets for precise UI positioning?

CanvasPanel slot configuration uses Anchors (Minimum/Maximum points) paired with Offsets (Left/Top/Right/Bottom values) to control element position and size. Map Blueprint anchor data to TypeScript CanvasPanelSlot properties, applying offsets relative to anchor positions for fixed sidebars, centered dialogs, and floating UI elements.

What's the difference between CanvasPanelSlot mapping and other slot types in ReactUMG?

CanvasPanelSlot requires explicit anchor-to-offset mapping between Blueprint and TypeScript, while 18 other slot types map directly without this intermediate step. This special handling ensures precise layout control across responsive and fixed layouts in canvas-based UI systems.

How do I position UI elements at specific screen locations using anchors and offsets?

Define Anchors as normalized points (0–1 range) on the canvas, then apply Offsets to shift from those anchor positions. Combine Minimum and Maximum anchors with Left/Top/Right/Bottom offsets to achieve fixed-position layouts, full-bleed elements, and responsive sizing.

Can I use CanvasPanelSlot for responsive UI layouts like toolbars and floating buttons?

Yes. CanvasPanelSlot supports responsive layouts through anchor-offset pairs: bottom toolbars anchor to (0.5, 1.0) with vertical offsets, floating buttons use point anchors with fixed offsets, and full-screen panels anchor corners to (0,0) and (1,1) with zero offsets.

What layout properties does CanvasPanelSlot support beyond anchors and offsets?

CanvasPanelSlot LayoutData includes Anchors (Minimum/Maximum), Offsets (Left/Top/Right/Bottom), bAutoSize for dynamic sizing, and ZOrder for layering. These properties together define complete position, size, and depth control for canvas elements.

Why does my CanvasPanel layout differ between Blueprint and TypeScript implementations?

CanvasPanelSlot mapping rules differ between Blueprint visual anchors and TypeScript property assignment. Ensure Anchor values convert correctly as normalized coordinates, and Offset values apply relative to anchor positions—misalignment typically stems from incorrect anchor-offset pairing logic.