Set the minimum size for a listbox cell.

The images drawn for a selected cell require a minimum size.

The change is part 2/2 of the fix for bug #22144.
This commit is contained in:
Mark de Wever 2014-06-09 19:07:53 +02:00
parent 0322918cef
commit b7ef64cb19
2 changed files with 5 additions and 1 deletions

View File

@ -59,6 +59,7 @@ Version 1.13.0-dev:
* Fixed bug #22095: An assertion failure in the gamestate inspector.
* Changed: A listbox can now update its size when rows are added.
* Changed: Avoid listboxes to handle mouse clicks twice.
* Fixed bug #22144: An assertion failure with empty labels in a listbox.
* WML engine:
* Added customizable recall costs for unit types and individual units,
using the new recall_cost attribute in [unit_type] and [unit].

View File

@ -20,8 +20,11 @@
[resolution]
# The minimum required height is due to the size required for
# {GUI__LISTBOX_SELECTED_CELL}
# The issue was found bug #22144
min_width = 0
min_height = 0
min_height = 26
default_width = 0
default_height = 0