mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
Changed order of parameters in FlexItem::Margin constructor to match web standard ordering
This commit is contained in:
parent
bd9697b687
commit
1ecc6867cb
2 changed files with 2 additions and 2 deletions
|
|
@ -808,7 +808,7 @@ FlexItem::FlexItem (FlexBox& fb) noexcept : associatedFlex
|
|||
|
||||
FlexItem::Margin::Margin() noexcept : left(), right(), top(), bottom() {}
|
||||
FlexItem::Margin::Margin (float v) noexcept : left (v), right (v), top (v), bottom (v) {}
|
||||
FlexItem::Margin::Margin (float l, float r, float t, float b) noexcept : left (l), right (r), top (t), bottom (b) {}
|
||||
FlexItem::Margin::Margin (float t, float r, float b, float l) noexcept : left (l), right (r), top (t), bottom (b) {}
|
||||
|
||||
//==============================================================================
|
||||
FlexItem FlexItem::withFlex (float newFlexGrow) const noexcept
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ public:
|
|||
{
|
||||
Margin() noexcept; /**< Creates a margin of size zero. */
|
||||
Margin (float size) noexcept; /**< Creates a margin with this size on all sides. */
|
||||
Margin (float left, float right, float top, float bottom) noexcept; /**< Creates a margin with these sizes. */
|
||||
Margin (float top, float right, float bottom, float left) noexcept; /**< Creates a margin with these sizes. */
|
||||
|
||||
float left; /**< Left margin size */
|
||||
float right; /**< Right margin size */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue