From 08553e1ce8ba6815b1f149324c503f751db13ee1 Mon Sep 17 00:00:00 2001 From: Gijs Burghoorn Date: Sun, 2 Jan 2022 15:49:18 +0100 Subject: [PATCH] Fix input field tests --- src/ui/input_field.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/input_field.rs b/src/ui/input_field.rs index dacf0d2..5b46b6d 100644 --- a/src/ui/input_field.rs +++ b/src/ui/input_field.rs @@ -37,7 +37,7 @@ impl InputFieldWidget { content: String::new(), cursor: 0, scroll: 0, - width: 0, + width: 16, // Give it some initial width display_type, } }