#[repr(transparent)]pub struct NSStackViewDistribution(pub NSInteger);
NSStackView
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl NSStackViewDistribution
impl NSStackViewDistribution
Sourcepub const GravityAreas: Self
pub const GravityAreas: Self
Default value. NSStackView will not have any special distribution behavior, relying on behavior described by gravity areas and set hugging priorities along the stacking axis.
Sourcepub const Fill: Self
pub const Fill: Self
The effective hugging priority in the stacking axis is NSLayoutPriorityRequired, causing the stacked views to tightly fill the container along the stacking axis.
Sourcepub const FillEqually: Self
pub const FillEqually: Self
Stacked views will have sizes maintained to be equal as much as possible along the stacking axis. The effective hugging priority in the stacking axis is NSLayoutPriorityRequired.
Sourcepub const FillProportionally: Self
pub const FillProportionally: Self
Stacked views will have sizes maintained to be equal, proportionally to their intrinsicContentSizes, as much as possible. The effective hugging priority in the stacking axis is NSLayoutPriorityRequired.
Sourcepub const EqualSpacing: Self
pub const EqualSpacing: Self
The space separating stacked views along the stacking axis are maintained to be equal as much as possible while still maintaining the minimum spacing.
Sourcepub const EqualCentering: Self
pub const EqualCentering: Self
Equal center-to-center spacing of the items is maintained as much as possible while still maintaining the minimum spacing between each view.
Trait Implementations§
Source§impl Clone for NSStackViewDistribution
impl Clone for NSStackViewDistribution
Source§fn clone(&self) -> NSStackViewDistribution
fn clone(&self) -> NSStackViewDistribution
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more