From 64a85a42eb50866f47aa12107362fbd37f45c6d6 Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Wed, 1 Feb 2023 17:40:51 +0200 Subject: make vertical margin configurable --- src/config.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 9770858..88e94c8 100644 --- a/src/config.rs +++ b/src/config.rs @@ -26,6 +26,7 @@ pub struct Config { // font and size pub font: Font, pub height: u32, + pub vertical_margin: u32, pub separator_width: f64, pub tags_r: f64, pub tags_padding: f64, @@ -57,6 +58,7 @@ impl Default for Config { tag_inactive_bg: Color::from_rgba_hex(0x282828ff), font: Font::new("monospace 10"), height: 24, + vertical_margin: 0, separator_width: 2.0, tags_r: 0.0, tags_padding: 25.0, -- cgit v1.3.1