Pinning Zero-Shift & Adaptive Sizing
Learn omnidirectional pinning in zoom-immune Parent Space, Zero-Shift anchor toggling, Grid cell alignment, and Fill, Fit, Fixed, Rel sizing with Min/Max bounds.
Zentiogrid pairs structural flex/grid sizing (Stack and Grid) with deterministic edge pinning so floating cards, badges, sticky bars, and bento grids never drift unexpectedly across screen ratios.

Position Types (Relative, Absolute, Fixed) & Zero-Shift Pins
In the Right Inspector Position section (PositionPinWidget), choose how any selected layer attaches to its container:
Relative: Participates normally insideStackor flow order.Absolute: Positions relative to its nearest positioning parent using omnidirectional edge pins (TopT, RightR, BottomB, LeftL), Center, or dualbothedge stretch — measured accurately in zoom-immune Parent Space (clientWidth/clientHeight).Fixed: Locks relative to the viewport (for persistent headers or floating action elements).X: Auto / Manual&Y: Auto / Manual: Toggle axis pin locking directly below the visual widget (pin-mode-toggle-x,pin-mode-toggle-y). Switching edge pins uses Zero-Shift Conversion, recalculating pixel offsets behind the scenes so elements never visually jump when changing anchors.

Grid Cell Alignment
Whenever the selected layer sits directly inside a Grid container (isChildOfGrid), Zentiogrid automatically swaps the pin matrix for the Grid Alignment Widget, letting you align individual cells cleanly across alignSelf and justifySelf without extra wrapper frames.
Sizing Modes & Clamp Bounds (Min / Max)
Configure width and height directly under Size (InspectorSizeSection):
| Sizing Mode | Behavior | Ideal Use Case |
|---|---|---|
Fill | Expands across remaining space inside a Stack or Grid parent | Multi-column feature cards and fluid containers |
Fit | Shrink-wraps tightly around inner text or child layers | Buttons, pills, badges, and headlines |
Fixed | Locks exact pixel dimensions (px) regardless of siblings | Fixed avatars, icons, and square badges |
Rel (%) | Calculates percentage width/height relative to parent bounds | Asymmetric split hero panes and responsive image frames |
Combine Rel/Fill with Min/Max Clamps
Click + Add... inside Size to attach Min Width, Max Width, Min Height, or Max Height constraints so body copy stays comfortably readable on wide monitors while shrinking gracefully on phones.
Inspect live pinning & sizing in Studio
Select any button or Stack card in Studio and switch Position Type or Size constraints in real time.
Workspace, Layers & Visual Primitives
Master the Zentiogrid Infinite Canvas (10%–300% zoom), 5 sidebar tabs, nested Draw-to-Insert, Marquee group selection, Responsive Navbar, and 100-step Undo shortcuts.
Desktop-First Responsive Cascade
Master Zentiogrid's Desktop-first breakpoint inheritance (lg -> md -> base), Cyan Override indicators, 1-click Reset to Desktop, and Mobile Navbar disclosure states.