From c8e73a92164fa17597985dd4f2d63ec2d91badd8 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 16 Mar 2020 11:43:33 -0400 Subject: Use a default width for `ui.dialogs.filteredlist` dialogs. Experience has shown a vast majority of filteredlist dialogs need to be wide. Use a standard width that needs to be overridden rather than remembered. --- test/test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test.lua b/test/test.lua index fc0d9e27..ba7354bd 100644 --- a/test/test.lua +++ b/test/test.lua @@ -794,7 +794,7 @@ function test_ui_dialogs_filteredlist_interactive() items = {'foo', 'foobar', 'bar', 'barbaz', 'baz', 'bazfoo'}, search_column = 2, text = 'baz', output_column = 2, string_output = true, select_multiple = true, button1 = _L['OK'], button2 = _L['Cancel'], - button3 = 'Other' + button3 = 'Other', width = ui.size[1] / 2 } assert_equal(text, {'barbaz'}) end -- cgit v1.2.3