summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-08 00:37:10 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-08 00:37:10 +0100
commitf316755cdcaf632d91a9adbc80e93fda744fd16e (patch)
treefb5137ea5b6ed7826bc79027934f42fa713f3372 /widget
parent1db823b4c528441627dd075d989fca2fa0a44346 (diff)
downloadiced-f316755cdcaf632d91a9adbc80e93fda744fd16e.tar.gz
iced-f316755cdcaf632d91a9adbc80e93fda744fd16e.tar.bz2
iced-f316755cdcaf632d91a9adbc80e93fda744fd16e.zip
Fix handle of `PickList` being rendered too much to the left
Diffstat (limited to '')
-rw-r--r--widget/src/pick_list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/pick_list.rs b/widget/src/pick_list.rs
index d98909fa..b8fc6079 100644
--- a/widget/src/pick_list.rs
+++ b/widget/src/pick_list.rs
@@ -329,7 +329,7 @@ where
shaping,
},
Point::new(
- bounds.x + bounds.width - self.padding.horizontal(),
+ bounds.x + bounds.width - self.padding.right,
bounds.center_y(),
),
appearance.handle_color,