Warehouse window is too narrow to show all ware names
Bug #1387784 reported by
GunChleoc
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
The text "Heavy Double Trident" doesn't fit in the Warehouse window at screen resolutions greater than 800x600. The same will be true for some translated ware names.
There are 2 possible solutions:
1. Make the window wider to show at least 7 columns of wares
2. Use a smaller font.
I would prefer option 2.
Related branches
lp:~widelands-dev/widelands/1535296-cleanup-and-autofit
- SirVer: Approve (code, functionality)
-
Diff: 1586 lines (+277/-306)48 files modifieddata/i18n/fonts.lua (+20/-20)
src/editor/ui_menus/categorized_item_selection_menu.h (+32/-11)
src/graphic/text/font_set.cc (+5/-5)
src/graphic/text/font_set.h (+7/-1)
src/graphic/text/rt_render.cc (+10/-3)
src/graphic/text/rt_render.h (+1/-1)
src/graphic/text_constants.h (+1/-0)
src/graphic/text_layout.cc (+30/-29)
src/graphic/text_layout.h (+6/-11)
src/logic/map_objects/tribes/ship.cc (+2/-2)
src/ui_basic/listselect.cc (+2/-1)
src/ui_basic/listselect.h (+1/-2)
src/ui_basic/multilineeditbox.cc (+0/-14)
src/ui_basic/multilineeditbox.h (+0/-1)
src/ui_basic/multilinetextarea.cc (+4/-4)
src/ui_basic/multilinetextarea.h (+2/-2)
src/ui_basic/panel.cc (+0/-14)
src/ui_basic/panel.h (+0/-3)
src/ui_basic/spinbox.cc (+2/-2)
src/ui_basic/spinbox.h (+0/-1)
src/ui_basic/tabpanel.cc (+1/-0)
src/ui_basic/tabpanel.h (+4/-0)
src/ui_basic/textarea.cc (+59/-48)
src/ui_basic/textarea.h (+16/-7)
src/ui_fsmenu/base.cc (+3/-4)
src/ui_fsmenu/base.h (+2/-11)
src/ui_fsmenu/campaign_select.cc (+2/-2)
src/ui_fsmenu/fileview.cc (+1/-1)
src/ui_fsmenu/internet_lobby.cc (+5/-6)
src/ui_fsmenu/internet_lobby.h (+0/-1)
src/ui_fsmenu/intro.cc (+2/-1)
src/ui_fsmenu/launch_mpg.cc (+10/-7)
src/ui_fsmenu/launch_mpg.h (+1/-1)
src/ui_fsmenu/launch_spg.cc (+7/-9)
src/ui_fsmenu/loadgame.cc (+1/-1)
src/ui_fsmenu/mapselect.cc (+1/-1)
src/ui_fsmenu/multiplayer.cc (+1/-1)
src/ui_fsmenu/netsetup_lan.cc (+1/-1)
src/ui_fsmenu/options.cc (+1/-1)
src/ui_fsmenu/singleplayer.cc (+1/-1)
src/wui/attack_box.cc (+4/-14)
src/wui/attack_box.h (+1/-2)
src/wui/building_statistics_menu.cc (+10/-28)
src/wui/building_statistics_menu.h (+1/-1)
src/wui/game_summary.cc (+1/-1)
src/wui/multiplayersetupgroup.cc (+12/-17)
src/wui/multiplayersetupgroup.h (+2/-5)
src/wui/waresdisplay.cc (+2/-7)
tags: | added: ui |
Changed in widelands: | |
status: | Confirmed → Fix Committed |
milestone: | none → build19-rc1 |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Settlers used a normal font and switched to a tighter font if it ran out of space. I think we can do something along those lines.