summaryrefslogtreecommitdiffstats
path: root/pure/src
diff options
context:
space:
mode:
authorLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2022-05-04 11:52:19 -0700
committerLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2022-05-04 11:52:19 -0700
commit0abb82033eecf41483f89273cf07c0def40989c6 (patch)
tree87112c481a211b5b0765c8e33617fd50e8b2a1f6 /pure/src
parent02914e5e68d1fbaad53483cd32c74d9ac448d1eb (diff)
downloadiced-0abb82033eecf41483f89273cf07c0def40989c6.tar.gz
iced-0abb82033eecf41483f89273cf07c0def40989c6.tar.bz2
iced-0abb82033eecf41483f89273cf07c0def40989c6.zip
Fix vertical rule helper
Diffstat (limited to 'pure/src')
-rw-r--r--pure/src/helpers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pure/src/helpers.rs b/pure/src/helpers.rs
index 2c4a37be..746b807d 100644
--- a/pure/src/helpers.rs
+++ b/pure/src/helpers.rs
@@ -202,7 +202,7 @@ pub fn horizontal_rule<'a>(height: u16) -> widget::Rule<'a> {
///
/// [`Rule`]: widget::Rule
pub fn vertical_rule<'a>(width: u16) -> widget::Rule<'a> {
- widget::Rule::horizontal(width)
+ widget::Rule::vertical(width)
}
/// Creates a new [`ProgressBar`].