diff options
author | 2021-09-20 15:54:19 +0700 | |
---|---|---|
committer | 2021-09-20 15:54:19 +0700 | |
commit | 35c4ad6dd950fa91d181f4d3253fcb486bcf1b11 (patch) | |
tree | 8420a91cd319a63b1ed257a6334453a1a673bdfb /core/src/align.rs | |
parent | 456a3f15e4226cc781a8825bddaaf066476d4351 (diff) | |
parent | a0ad3996225601aaa1ebe051cba115374b55c80e (diff) | |
download | iced-35c4ad6dd950fa91d181f4d3253fcb486bcf1b11.tar.gz iced-35c4ad6dd950fa91d181f4d3253fcb486bcf1b11.tar.bz2 iced-35c4ad6dd950fa91d181f4d3253fcb486bcf1b11.zip |
Merge pull request #1044 from tarkah/feature/align-fill-variant
Add Align::Fill variant
Diffstat (limited to 'core/src/align.rs')
-rw-r--r-- | core/src/align.rs | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/core/src/align.rs b/core/src/align.rs deleted file mode 100644 index 8a59afa1..00000000 --- a/core/src/align.rs +++ /dev/null @@ -1,38 +0,0 @@ -/// Alignment on an axis of a container. -#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] -pub enum Align { - /// Align at the start of the axis. - Start, - - /// Align at the center of the axis. - Center, - - /// Align at the end of the axis. - End, -} - -/// The horizontal alignment of some resource. -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub enum HorizontalAlignment { - /// Align left - Left, - - /// Horizontally centered - Center, - - /// Align right - Right, -} - -/// The vertical alignment of some resource. -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub enum VerticalAlignment { - /// Align top - Top, - - /// Vertically centered - Center, - - /// Align bottom - Bottom, -} |