1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

FlexBox: Update the default value of FlexItem::alignSelf to match CSS implementations

This commit is contained in:
reuk 2021-10-21 16:19:11 +01:00
parent 4c2dba0822
commit 4d572411e0
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
2 changed files with 24 additions and 1 deletions

View file

@ -104,7 +104,7 @@ public:
This determines the alignment of the item along the cross-axis (perpendicular to the direction
of flow).
*/
AlignSelf alignSelf = AlignSelf::stretch;
AlignSelf alignSelf = AlignSelf::autoAlign;
//==============================================================================
/** This constant can be used for sizes to indicate that 'auto' mode should be used. */