summaryrefslogtreecommitdiffstats
path: root/glow/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-28 01:46:17 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-28 01:46:17 +0200
commitb9d42a45a8ce491e5fa21a86db0799bcd731d0dd (patch)
tree2c41c7765810486b665fa10aa22ed53001f06f5c /glow/src/widget.rs
parent2ca7e3c4b0cb293adebf9a9bf9a26191069d495d (diff)
downloadiced-b9d42a45a8ce491e5fa21a86db0799bcd731d0dd.tar.gz
iced-b9d42a45a8ce491e5fa21a86db0799bcd731d0dd.tar.bz2
iced-b9d42a45a8ce491e5fa21a86db0799bcd731d0dd.zip
Write documentation for `iced_glow`
Diffstat (limited to 'glow/src/widget.rs')
-rw-r--r--glow/src/widget.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/glow/src/widget.rs b/glow/src/widget.rs
index 362465f4..9968092b 100644
--- a/glow/src/widget.rs
+++ b/glow/src/widget.rs
@@ -48,6 +48,11 @@ pub use canvas::Canvas;
pub use iced_native::{Image, Space};
+/// A container that distributes its contents vertically.
pub type Column<'a, Message> = iced_native::Column<'a, Message, Renderer>;
+
+/// A container that distributes its contents horizontally.
pub type Row<'a, Message> = iced_native::Row<'a, Message, Renderer>;
+
+/// A paragraph of text.
pub type Text = iced_native::Text<Renderer>;