From 0b2db55bc0d3d824f51bb9e1e1029e1f8b33cbee Mon Sep 17 00:00:00 2001 From: Rusty Pickle Date: Tue, 18 Feb 2025 19:12:43 +0600 Subject: [PATCH 1/2] Fix button spacing --- src/ui_components/widgets/animated_label.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui_components/widgets/animated_label.rs b/src/ui_components/widgets/animated_label.rs index 6389406..21a4872 100644 --- a/src/ui_components/widgets/animated_label.rs +++ b/src/ui_components/widgets/animated_label.rs @@ -52,6 +52,8 @@ impl Widget for AnimatedLabel { separator_position, } = self; + let ui_spacing = ui.spacing().item_spacing.x; + ui.spacing_mut().item_spacing.x = 0.0; let (separator_left, separator_right) = separator_position; @@ -156,6 +158,8 @@ impl Widget for AnimatedLabel { } } + ui.spacing_mut().item_spacing.x = ui_spacing; + response } } From 36aad912e19d43b0fbd08a866dc8396a0c92c342 Mon Sep 17 00:00:00 2001 From: Rusty Pickle Date: Tue, 18 Feb 2025 19:13:07 +0600 Subject: [PATCH 2/2] Update version --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a2caf6f..cee65e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3696,7 +3696,7 @@ dependencies = [ [[package]] name = "talon-gui" -version = "1.0.9" +version = "1.1.0" dependencies = [ "chrono", "csv", diff --git a/Cargo.toml b/Cargo.toml index 0a85bd6..63c3784 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talon-gui" -version = "1.0.9" +version = "1.1.0" edition = "2021" authors = ["TheRustyPickle "] readme = "README.md"