[Commits] [wesnoth/wesnoth] 74083a: MP create: fix scrollbar not appearing in the SP c...
GitHub
noreply at github.com
Sat Mar 25 18:37:31 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 74083a2f89bd68df08676cdc78b4a29e9de99122
https://github.com/wesnoth/wesnoth/commit/74083a2f89bd68df08676cdc78b4a29e9de99122
Author: Jyrki Vesterinen <sandgtx at gmail.com>
Date: 2017-03-25 (Sat, 25 Mar 2017)
Changed paths:
M src/gui/widgets/scrollbar_container.cpp
Log Message:
-----------
MP create: fix scrollbar not appearing in the SP campaign list
It turned out that in AUTO_VISIBLE_FIRST_RUN mode, scrollbar_container
expects the scrollbar to be either visible or invisible. The code I added
in commit 9b1ca36b5c8ad353daf5881d65adfd8ba843381c made the scrollbar hidden instead, which
prevented a full relayout from occurring if the content grew afterwards.
Showing the scrollbar, in turn, depends on full relayout.
This issue only affected listboxes and not scroll labels,
which is why I didn't initially notice it.
More information about the Commits
mailing list