diff options
author | 2020-03-16 11:43:33 -0400 | |
---|---|---|
committer | 2020-03-16 11:43:33 -0400 | |
commit | c8e73a92164fa17597985dd4f2d63ec2d91badd8 (patch) | |
tree | efc2518471d2cca1e27d08511d3a9ff7b1b9a0c8 /test | |
parent | a79590f80c11d9b1aa363d9fd3f96d86bcde74f1 (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.lua | 2 |
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 |