From 0089357edb0c3900c5645a138520391bb0f09626 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Mon, 5 Mar 2018 13:55:43 +1100 Subject: [PATCH] Message Dialog: make all option rows have the same height [ci skip] --- data/gui/window/wml_message.cfg | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/data/gui/window/wml_message.cfg b/data/gui/window/wml_message.cfg index c6a1979caebd..334c1faa6b00 100644 --- a/data/gui/window/wml_message.cfg +++ b/data/gui/window/wml_message.cfg @@ -251,6 +251,7 @@ where calculated_width = {__GUI_IMAGE_WIDTH} [toggle_panel] definition = "wml_message" + linked_group = "options" return_value_id = "ok" [grid] @@ -479,6 +480,11 @@ where calculated_width = {__GUI_IMAGE_WIDTH} fixed_width = true [/linked_group] + [linked_group] + id = "options" + fixed_height = true + [/linked_group] + [tooltip] id = "tooltip" [/tooltip] @@ -520,7 +526,7 @@ where calculated_width = {__GUI_IMAGE_WIDTH} [/spacer] [/column] - + {_GUI_WML_MESSAGE_CONTENT} [column] @@ -592,6 +598,11 @@ 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] @@ -715,6 +726,11 @@ 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] @@ -756,7 +772,7 @@ if(gamemap_width - (10 + ({__GUI_IMAGE_WIDTH})) > {MAX_TEXT_WIDTH} [/spacer] [/column] - + {_GUI_WML_MESSAGE_CONTENT} [column]