Skip to content

Commit

Permalink
Set the minimum width for a listbox cell.
Browse files Browse the repository at this point in the history
This fixes bug #22046.
  • Loading branch information
mordante committed Jun 14, 2014
1 parent 65570f5 commit 02b761b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion changelog
Expand Up @@ -59,7 +59,8 @@ 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.
* Fixed bug #22144 + #22046: An assertion failure with empty labels in
a listbox.
* The :inspect dialog now uses the same function as saved games to generate
WML in text form instead of a simplified version.
* Added a button to copy the currently displayed content from the :inspect
Expand Down
3 changes: 2 additions & 1 deletion data/gui/default/widget/toggle_panel_default.cfg
Expand Up @@ -23,7 +23,8 @@
# The minimum required height is due to the size required for
# {GUI__LISTBOX_SELECTED_CELL}
# The issue was found bug #22144
min_width = 0
# Bug #22046 showed the minimum width should also be set.
min_width = 26
min_height = 26

default_width = 0
Expand Down

0 comments on commit 02b761b

Please sign in to comment.