From ec67361bb19d4c43ca41df6a56beb5b29344bc6a Mon Sep 17 00:00:00 2001 From: Riley Beckett Date: Thu, 23 Oct 2025 23:53:07 -0400 Subject: increase spacing for horizontal layout --- input_field.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'input_field.c') diff --git a/input_field.c b/input_field.c index 328254e..7df1799 100644 --- a/input_field.c +++ b/input_field.c @@ -34,8 +34,8 @@ void filter_items(client_state* state) { float offset = 0; array_for_all(item_display_t, display, state->filtered_items) { display->offset = offset; - if (state->lines > 0) offset += state->line_height; - else offset += display->item->pixel_len + state->horizontal_spacing; + if (state->lines) offset += state->line_height; + else offset += display->item->pixel_len + state->horizontal_spacing * 2.0f; } } -- cgit v1.2.3