Skip to content

Commit

Permalink
Revert "Message Dialog: make all option rows have the same height"
Browse files Browse the repository at this point in the history
[ci skip]

This reverts commit 0089357. It wasn't suitable for
all usecases, and it's impossible to make it a dialog option.

Fixes #2628
  • Loading branch information
Vultraz committed Mar 11, 2018
1 parent 7637a36 commit 5fc4dcf
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions data/gui/window/wml_message.cfg
Expand Up @@ -251,7 +251,6 @@ where calculated_width = {__GUI_IMAGE_WIDTH}
[toggle_panel]
definition = "wml_message"

linked_group = "options"
return_value_id = "ok"
[grid]

Expand Down Expand Up @@ -480,11 +479,6 @@ where calculated_width = {__GUI_IMAGE_WIDTH}
fixed_width = true
[/linked_group]

[linked_group]
id = "options"
fixed_height = true
[/linked_group]

[tooltip]
id = "tooltip"
[/tooltip]
Expand Down Expand Up @@ -526,7 +520,7 @@ where calculated_width = {__GUI_IMAGE_WIDTH}
[/spacer]

[/column]

{_GUI_WML_MESSAGE_CONTENT}

[column]
Expand Down Expand Up @@ -598,11 +592,6 @@ if(gamemap_width - ({__GUI_IMAGE_WIDTH}) > {MAX_TEXT_WIDTH}
fixed_width = true
[/linked_group]

[linked_group]
id = "options"
fixed_height = true
[/linked_group]

[tooltip]
id = "tooltip"
[/tooltip]
Expand Down Expand Up @@ -726,11 +715,6 @@ if(gamemap_width - (10 + ({__GUI_IMAGE_WIDTH})) > {MAX_TEXT_WIDTH}
fixed_width = true
[/linked_group]

[linked_group]
id = "options"
fixed_height = true
[/linked_group]

[tooltip]
id = "tooltip"
[/tooltip]
Expand Down Expand Up @@ -772,7 +756,7 @@ if(gamemap_width - (10 + ({__GUI_IMAGE_WIDTH})) > {MAX_TEXT_WIDTH}
[/spacer]

[/column]

{_GUI_WML_MESSAGE_CONTENT}

[column]
Expand Down

0 comments on commit 5fc4dcf

Please sign in to comment.