Module: tools Branch: master Commit: 61478328774b2cb053fd168d2c117159f314d029 URL: https://gitlab.winehq.org/winehq/tools/-/commit/61478328774b2cb053fd168d2c11...
Author: Francois Gouget fgouget@codeweavers.com Date: Fri Aug 4 12:21:50 2023 +0200
testbot/cgi: Align the textarea width with the text field size.
The TestBot uses a 50 character width for the regular text fields so use the same width for textarea fields.
---
testbot/lib/ObjectModel/CGI/FormPage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/lib/ObjectModel/CGI/FormPage.pm b/testbot/lib/ObjectModel/CGI/FormPage.pm index d6ded1b0..d35304ac 100644 --- a/testbot/lib/ObjectModel/CGI/FormPage.pm +++ b/testbot/lib/ObjectModel/CGI/FormPage.pm @@ -409,7 +409,7 @@ sub GenerateValueInput($$$$) else { my $Size=$PropertyDescriptor->GetMaxLength(); - $Size=45 if ($Size > 45); + $Size = 50 if ($Size > 50); print "<input type='$InputType' name='", $PropertyDescriptor->GetName(), "' maxlength='", $PropertyDescriptor->GetMaxLength(), "' size='$Size'";