Merge lp:~widelands-dev/widelands/wareslist_sizes into lp:widelands
Proposed by
cghislai
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 6697 | ||||||||
Proposed branch: | lp:~widelands-dev/widelands/wareslist_sizes | ||||||||
Merge into: | lp:widelands | ||||||||
Diff against target: |
176 lines (+28/-27) 5 files modified
src/logic/editor_game_base.cc (+4/-0) src/ui_fsmenu/loadreplay.cc (+6/-7) src/ui_fsmenu/loadreplay.h (+14/-12) src/wlapplication.cc (+4/-4) src/wui/waresdisplay.cc (+0/-4) |
||||||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/wareslist_sizes | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
SirVer | Approve | ||
Review via email: mp+178257@code.launchpad.net |
Description of the change
This changes the max height for wares list wrapping so that it wraps nice at 800x600 in order to display all the whole ware statistics window. No wrapping occurs at 1024*768. I moved the code to do so from the ware display window to the tribe loading, as it makes much more sense imho.
I also added a small fix to not create a game object each time a replay as preloaded. Instead, the one created in wlapplication is passed in, similar to what is done in the load game menu.
To post a comment you must log in.
Lgtm. Merged. Thanks for taking care of this.