diff options
author | 2023-04-08 07:08:03 +0200 | |
---|---|---|
committer | 2023-04-08 07:08:03 +0200 | |
commit | ba07abe5c8d3f6fb175e13f5cd10f74ee8ab460c (patch) | |
tree | 996d17805584a77c2bbad26b4c8700b33464ba31 /graphics/src/primitive.rs | |
parent | c2249d2506585abac0f056c619a6dca1b05e8c46 (diff) | |
download | iced-ba07abe5c8d3f6fb175e13f5cd10f74ee8ab460c.tar.gz iced-ba07abe5c8d3f6fb175e13f5cd10f74ee8ab460c.tar.bz2 iced-ba07abe5c8d3f6fb175e13f5cd10f74ee8ab460c.zip |
Expand bounds of `Text` primitives a bit further
Diffstat (limited to 'graphics/src/primitive.rs')
-rw-r--r-- | graphics/src/primitive.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/primitive.rs b/graphics/src/primitive.rs index 01546dcb..7f2c8ae2 100644 --- a/graphics/src/primitive.rs +++ b/graphics/src/primitive.rs @@ -174,7 +174,7 @@ impl Primitive { alignment::Vertical::Bottom => bounds.y - bounds.height, }; - bounds.expand(1.0) + bounds.expand(1.5) } Self::Quad { bounds, .. } | Self::Image { bounds, .. } |