branchFacepunch.Flexbox/maincancel
72 Commits over 976 Days - 0.00cph!
Actually it needs to be public
Make ControlledProperties protected again
Unity 2022
Tweak DrivenRectTransformTracker usage to try and fix prefabs having changes as soon as you open them
Implement more accurate preferred size for flex columns when using a fixed column count
Apply min/max size clamps to element preferred size if they have any restrictions
Fix the "Current" button on the "To" field for FlexTransition filling in the wrong field
Unity upgrade
Reset flex transition state sooner so it shouldn't interfere with other scripts
Handle min/max size in flex text, fixes weird layout issues on text when the size is clamped
Cleanup ds_store files
Add FlexScipedUpdate so it's easy to do batched updates which run layout immediately after instead of deferring until LateUpdate
Add flex aspect ratio component
Fix flex text not setting its driven properties
Change flex columns to calculate dynamic column counts with a minimum width, expanding the columns equally to fill the container
Fix graphics transform not working correctly when nested
Don't require Graphic or CanvasRenderer
Transform with transition sample
Added FlexGraphicTransform component so we can do CSS-like transforms, hooked up to FlexTransition
Fix possible division by zero in layout when scale is zero
Add a way to override the preferred width/height to nicely size images without restricting them
Some bug fixes related to columns, auto sizing, controlled properties, and prefabs being marked dirty for no reason
Upgrade to unity 2021
Fix some column state not resetting correctly which made it render incorrectly sometimes
Add some missing profiling blocks
Add FlexColumnsElement for laying out elements into columns (either a fixed number of columns or auto calculated based on width)
Split FlexElementEditor to have a shared base class too
Move more stuff into FlexElementBase
Split some shared code out of FlexElement into FlexElementBase
Add a scene for testing spacing modes
Simplify grow/shrink sum calculation
Fix incorrect alignment on main axis when a child grows but has its growth clamped
Add support for justify-content space-between, space-around, and space-evenly
Fix scenes not doing layout on load in editor
Don't queue up layouts for elements that are not in loaded scenes
Fix min height on scroll views
Update player screen with new scroll views
Add a scrollbox prefab
Add a sample of auto sized flex scroll views
Count basis when measuring the main axis
Add support for flex basis
Add more prefabs, and the rust+ screen
add masks to scrollable areas
Support rotation in flex transition
Updating Prefabs, Adding UI effects
Fix gap calculation off by 1
Exclude space used by gap when calculating percent unit values on the main axis
Grid system beginnings, and test home screen UI
Fix some issues with switching to/from play mode
Fix percent units not taking element scale into consideration
Fix align items stretch sizing elements larger/smaller than the container when the element is scaled