summaryrefslogtreecommitdiffstats
path: root/pure
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2022-05-05 00:57:55 +0200
committerLibravatar GitHub <noreply@github.com>2022-05-05 00:57:55 +0200
commit161c792325be8a09eef9634a1327cdd0b497ccbd (patch)
tree87112c481a211b5b0765c8e33617fd50e8b2a1f6 /pure
parent02914e5e68d1fbaad53483cd32c74d9ac448d1eb (diff)
parent0abb82033eecf41483f89273cf07c0def40989c6 (diff)
downloadiced-161c792325be8a09eef9634a1327cdd0b497ccbd.tar.gz
iced-161c792325be8a09eef9634a1327cdd0b497ccbd.tar.bz2
iced-161c792325be8a09eef9634a1327cdd0b497ccbd.zip
Merge pull request #1332 from tarkah/fix/rule-helper
Fix vertical rule helper
Diffstat (limited to '')
-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`].