summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Kaiden42 <gitlab@tinysn.com>2020-09-25 16:38:30 +0200
committerLibravatar Héctor Ramón <hector@lich.io>2021-06-03 20:21:55 +0700
commitc0cfd9d5cf373d4d7f89cf14c15f36e9995c1dbf (patch)
treedf255f109360c26a77804878cf6143e6e997bf1e /native
parentbe3ee9adf1659cf8eaa7a75cbb2aa1ecc33e4c42 (diff)
downloadiced-c0cfd9d5cf373d4d7f89cf14c15f36e9995c1dbf.tar.gz
iced-c0cfd9d5cf373d4d7f89cf14c15f36e9995c1dbf.tar.bz2
iced-c0cfd9d5cf373d4d7f89cf14c15f36e9995c1dbf.zip
Update documentation of `Toggler`
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/toggler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/toggler.rs b/native/src/widget/toggler.rs
index 36e7d110..8dbd94a1 100644
--- a/native/src/widget/toggler.rs
+++ b/native/src/widget/toggler.rs
@@ -96,7 +96,7 @@ impl<Message, Renderer: self::Renderer + text::Renderer>
self
}
- /// Sets the alignment of the text of the [`Toggler`]
+ /// Sets the horizontal alignment of the text of the [`Toggler`]
///
/// [`Toggler`]: struct.Toggler.html
pub fn text_align(mut self, align: HorizontalAlignment) -> Self {