Attack box width changes when mouse hovers over soldier
Bug #1828711 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When the mouse hovers over a soldier and the tooltip text is wider than the inner window, the window width changes.
We didn't notice before because the English text is really short.
Related branches
lp://staging/~widelands-dev/widelands/choose-attack-soldiers
- GunChleoc: Approve
- Benedikt Straub: Needs Resubmitting
-
Diff: 59 lines (+3/-10)2 files modifiedsrc/wui/attack_box.cc (+3/-6)
src/wui/attack_box.h (+0/-4)
Changed in widelands: | |
assignee: | nobody → Benedikt Straub (nordfriese) |
status: | New → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | Benedikt Straub (nordfriese) → nobody |
To post a comment you must log in.
Possible solutions:
– Make the window wider (12 soldiers wide should suffice)
– Use a multilinetextarea with a fixed size of two lines and automatic linebreaking
– Have 4 lines and put one attribute on each line
– Translations should use abbreviations like the english text
Which one do we want?