aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-03-16 11:43:33 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-03-16 11:43:33 -0400
commitc8e73a92164fa17597985dd4f2d63ec2d91badd8 (patch)
treeefc2518471d2cca1e27d08511d3a9ff7b1b9a0c8 /test
parenta79590f80c11d9b1aa363d9fd3f96d86bcde74f1 (diff)
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.
Diffstat (limited to 'test')
-rw-r--r--test/test.lua2
1 files changed, 1 insertions, 1 deletions
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