← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/bug-1460724 into lp:widelands

 

GunChleoc has proposed merging lp:~widelands-dev/widelands/bug-1460724 into lp:widelands.

Requested reviews:
  Widelands Developers (widelands-dev)
Related bugs:
  Bug #1460724 in widelands: "Icon in news inbox overlaps with long message text"
  https://bugs.launchpad.net/widelands/+bug/1460724

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug-1460724/+merge/265896

Decreased height of message body in the game message menu to prevent overlap with message type icon.
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1460724 into lp:widelands.
=== modified file 'src/wui/game_message_menu.cc'
--- src/wui/game_message_menu.cc	2014-12-08 11:08:38 +0000
+++ src/wui/game_message_menu.cc	2015-07-25 17:46:55 +0000
@@ -46,7 +46,7 @@
 		(&plr, "messages", &registry, 580, 375, _("Messages: Inbox")),
 	message_body
 		(this,
-		 5, 154, 570, 216,
+		 5, 154, 570, 216 - 5 - 34, // Subtracting height for message type icon
 		 "", UI::Align_Left, 1),
 	mode(Inbox)
 {


Follow ups