Resize UI when toggling between fullscreen and windows mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
New
|
Undecided
|
Unassigned |
Bug Description
When a screen was first drawn in window mode (e.g 800x600) and then switched to fullscreen (with a higher resolution), the content moves to the top left and the size is the same as in window mode with huge empty spaces to the right and bottom.
When started in fullscreen and switched to window mode, parts of the UI that exceed the window resolution are not shown.
Currently the following screens are not redrawn when toggling between window mode and fullscreen:
Metaserver Login Dialog (the window were the username and password are set - not centered anymore)
Metaserver Lobby
Begin Network Game (LAN Game)
Multiplayer Game Setup
Please Select-Dialog <Map | Saved Game> (in Multiplayer Game Setup)
Help: Multiplayer Game Setup Window
Related branches
- Toni Förster: Approve
- Klaus Halfmann: Approve (review compile, testplay)
-
Diff: 2711 lines (+1143/-949)39 files modifieddata/campaigns/atl01.wmf/scripting/mission_thread.lua (+1/-2)
data/campaigns/bar01.wmf/scripting/mission_thread.lua (+1/-2)
data/campaigns/bar02.wmf/scripting/mission_thread.lua (+1/-2)
data/campaigns/campaigns.lua (+127/-141)
data/campaigns/dummy.wmf/elemental (+1/-0)
data/campaigns/emp01.wmf/scripting/mission_thread.lua (+1/-1)
data/campaigns/emp02.wmf/scripting/mission_thread.lua (+1/-2)
data/campaigns/emp03.wmf/scripting/mission_thread.lua (+1/-1)
data/campaigns/emp04.wmf/scripting/mission_thread.lua (+1/-3)
data/campaigns/tutorials.lua (+12/-28)
src/base/i18n.cc (+9/-0)
src/base/i18n.h (+11/-2)
src/graphic/text_layout.cc (+1/-0)
src/graphic/text_layout.h (+2/-0)
src/logic/CMakeLists.txt (+0/-11)
src/logic/filesystem_constants.h (+2/-1)
src/scripting/CMakeLists.txt (+0/-1)
src/scripting/lua_game.cc (+10/-30)
src/scripting/lua_game.h (+1/-2)
src/ui_basic/table.cc (+3/-3)
src/ui_basic/table.h (+2/-8)
src/ui_fsmenu/CMakeLists.txt (+12/-1)
src/ui_fsmenu/campaign_select.cc (+44/-397)
src/ui_fsmenu/campaign_select.h (+10/-90)
src/ui_fsmenu/campaigndetails.cc (+82/-0)
src/ui_fsmenu/campaigndetails.h (+41/-0)
src/ui_fsmenu/campaigns.cc (+198/-158)
src/ui_fsmenu/campaigns.h (+59/-13)
src/ui_fsmenu/scenario_select.cc (+230/-0)
src/ui_fsmenu/scenario_select.h (+65/-0)
src/ui_fsmenu/scenariodetails.cc (+74/-0)
src/ui_fsmenu/scenariodetails.h (+41/-0)
src/wlapplication.cc (+12/-9)
src/wui/CMakeLists.txt (+2/-1)
src/wui/load_or_save_game.cc (+4/-6)
src/wui/mapauthordata.h (+72/-0)
src/wui/mapdata.cc (+7/-7)
src/wui/mapdata.h (+1/-27)
src/wui/mapdetails.h (+1/-0)
description: | updated |
Already implemented and waiting for a code review slot.