From dd0124271c35eda02a7070f2959f34b85d3fc235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giuseppe=20Ghib=C3=B2?= Date: Tue, 6 Jun 2023 00:59:21 +0200 Subject: Add slightly more room for longer text in Graphics Cards --- lib/Xconfig/main.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Xconfig/main.pm b/lib/Xconfig/main.pm index 9453204..4b8c54e 100644 --- a/lib/Xconfig/main.pm +++ b/lib/Xconfig/main.pm @@ -94,7 +94,7 @@ sub configure_chooser_raw { $texts{monitors} = $X->{monitors} && $X->{monitors}[0]{ModelName} || N("Custom"); $texts{resolutions} = Xconfig::resolution_and_depth::to_string($X->{resolutions}[0]); - $texts{$_} =~ s/(.{20}).*/$1.../ foreach keys %texts; #- ensure not too long + $texts{$_} =~ s/(.{35}).*/$1.../ foreach keys %texts; #- ensure not too long }; $update_texts->(); -- cgit v1.2.1