Skip to content

Commit

Permalink
Set the minimum size for a listbox cell.
Browse files Browse the repository at this point in the history
The images drawn for a selected cell require a minimum size.

The change is part 2/2 of the fix for bug #22144.
  • Loading branch information
mordante committed Jun 9, 2014
1 parent c85781f commit 06b7144
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog
Expand Up @@ -19,6 +19,7 @@ Version 1.11.15+dev:
* Updated translations:
* User interface:
* Fixed bug #22095: An assertion failure in the gamestate inspector.
* Fixed bug #22144: An assertion failure with empty labels in a listbox.
* WML engine:
* Fixed a regression in 1.11.14 causing WML parser/preprocessor errors to
not interrupt the game load sequence or display an error message in-game,
Expand Down
5 changes: 4 additions & 1 deletion data/gui/default/widget/toggle_panel_default.cfg
Expand Up @@ -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
Expand Down

0 comments on commit 06b7144

Please sign in to comment.