pub struct SplitButtonDefaults;Expand description
Compose’s SplitButtonDefaults: the token values, and the shapes, paddings and icon sizes
chosen for a part’s height.
Implementations§
Source§impl SplitButtonDefaults
impl SplitButtonDefaults
Sourcepub const EXTRA_SMALL_CONTAINER_HEIGHT: f64 = 32.0
pub const EXTRA_SMALL_CONTAINER_HEIGHT: f64 = 32.0
The height of an extra small container.
Sourcepub const SMALL_CONTAINER_HEIGHT: f64 = 40.0
pub const SMALL_CONTAINER_HEIGHT: f64 = 40.0
The height of a small container, and the parts’ default minimum height.
Sourcepub const MEDIUM_CONTAINER_HEIGHT: f64 = 56.0
pub const MEDIUM_CONTAINER_HEIGHT: f64 = 56.0
The height of a medium container.
Sourcepub const LARGE_CONTAINER_HEIGHT: f64 = 96.0
pub const LARGE_CONTAINER_HEIGHT: f64 = 96.0
The height of a large container.
Sourcepub const EXTRA_LARGE_CONTAINER_HEIGHT: f64 = 136.0
pub const EXTRA_LARGE_CONTAINER_HEIGHT: f64 = 136.0
The height of an extra large container.
Sourcepub const LEADING_ICON_SIZE: f64 = 20.0
pub const LEADING_ICON_SIZE: f64 = 20.0
The default size of the leading part’s icon at the small height.
Sourcepub const TRAILING_ICON_SIZE: f64 = 22.0
pub const TRAILING_ICON_SIZE: f64 = 22.0
The default size of the trailing part’s icon at the small height.
The shapes of a leading part at button_height: the outer corners are full, and the inner
ones follow the size’s resting and pressed inner corner.
The shapes of a trailing part at button_height.
The content padding of a leading part at button_height.
The content padding of a trailing part at button_height.
The size of a leading part’s icon at button_height.
The size of a trailing part’s icon at button_height.