mirror of
https://github.com/nicbarker/clay.git
synced 2026-04-11 13:54:16 +00:00
[Documentation] Update floating .attachPoints graphic in README
Some checks are pending
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
Odin Bindings Update / check_changes (push) Waiting to run
Odin Bindings Update / build (macos-latest) (push) Blocked by required conditions
Odin Bindings Update / build (ubuntu-latest) (push) Blocked by required conditions
Odin Bindings Update / commit (push) Blocked by required conditions
Some checks are pending
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
Odin Bindings Update / check_changes (push) Waiting to run
Odin Bindings Update / build (macos-latest) (push) Blocked by required conditions
Odin Bindings Update / build (ubuntu-latest) (push) Blocked by required conditions
Odin Bindings Update / commit (push) Blocked by required conditions
This commit is contained in:
parent
5845951a5f
commit
66bbb81215
1 changed files with 3 additions and 3 deletions
|
|
@ -1876,11 +1876,11 @@ You can mentally visualise this as finding a point on the floating container, th
|
|||
|
||||
For example:
|
||||
|
||||
"Attach the LEFT_CENTER of the floating container to the RIGHT_TOP of the parent"
|
||||
"Attach the LEFT_BOTTOM of the floating container to the CENTER_CENTER of the parent"
|
||||
|
||||
`CLAY(CLAY_ID("Floating"), { .floating = { .attachPoints = { .element = CLAY_ATTACH_POINT_LEFT_CENTER, .parent = CLAY_ATTACH_POINT_RIGHT_TOP } } });`
|
||||
`CLAY(CLAY_ID("Floating"), { .floating = { .attachPoints = { .element = CLAY_ATTACH_POINT_LEFT_BOTTOM, .parent = CLAY_ATTACH_POINT_CENTER_CENTER } } });`
|
||||
|
||||

|
||||
<img width="1200" height="675" alt="Clay README Graphics" src="https://github.com/user-attachments/assets/95a829e3-ec17-47f2-8d16-10fda4968189" />
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue