Statistics slider show only one option labelled "game" when the game has just been started
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
(Split out from bug 536543)
When I open the general statistics window just after started a new game, there is a single button labeled "game". Now, I do notice this is probably because additional steps are added dynamically, which in and of itself is a food idea but it looks rather weird to have a slider with only one element. (And I've always liked to be able to compare the different time scales.) Then again I don't know, but I would like a default showing more than one position.
Joachim (nomeata) suggested to always show the 15 min option as well even when the "game" option also means 15min. This seem like a fine solution to me as it would ensure that the slider always have at least two options. Showing at least two options makes it much clearer that it is a slider, and especially combined with bug 887728 this would work very well.
Widelands r6090.
Related branches
- Widelands Developers: Pending requested
-
Diff: 19 lines (+4/-2)1 file modifiedsrc/wui/plot_area.cc (+4/-2)
Just an idea: How about leaving one option, but greying it all out to indicate “this widget is cannot be used at the moment”?`