[Commits] [wesnoth/wesnoth] 22eebc: GUI2: allow labels to shrink to avoid scrollbars
GitHub
noreply at github.com
Fri Feb 24 20:52:27 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 22eebc69836391423952dd2b6e9998383f82da63
https://github.com/wesnoth/wesnoth/commit/22eebc69836391423952dd2b6e9998383f82da63
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-02-25 (Sat, 25 Feb 2017)
Changed paths:
M data/gui/schema.cfg
M data/gui/widget/label_default.cfg
M src/gui/core/widget_definition.cpp
M src/gui/core/widget_definition.hpp
M src/gui/widgets/styled_widget.cpp
Log Message:
-----------
GUI2: allow labels to shrink to avoid scrollbars
This adds a new can_shrink key to widgets that allows the 'no label' codepath of styled_widget::request_reduce_width to be called.
In this case, it allows labels to shrink without forcing window scrollbars.
More information about the Commits
mailing list