newly added code contain a test list for us developers (dev-branch) to review how the ListUI works. This should of course be removed before merge to main. It is hard to miss the test list so we will hopefully notice this before release.
pivot origin
now the relative position system takes another tuple into account, the pivot.
Pivot: Where on the parent the UI-element should be connected to
(-1,-1) top left corner
(0,0) center
Origin: Where on the UI-element is its anchor point.
(-1,1) top left corner
(0,0) center
remove test list before merge to main
newly added code contain a test list for us developers (dev-branch) to review how the ListUI works. This should of course be removed before merge to main. It is hard to miss the test list so we will hopefully notice this before release.
pivot origin
now the relative position system takes another tuple into account, the pivot.
Pivot: Where on the parent the UI-element should be connected to (-1,-1) top left corner (0,0) center
Origin: Where on the UI-element is its anchor point. (-1,1) top left corner (0,0) center