[Commits] [wesnoth/wesnoth] adb5ef: Demote can_shrink key from global widget scope to ...

GitHub noreply at github.com
Thu Mar 16 19:25:15 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: adb5ef90ad6f2db09125af3ebf9fcccdd1caf974
      https://github.com/wesnoth/wesnoth/commit/adb5ef90ad6f2db09125af3ebf9fcccdd1caf974
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-03-17 (Fri, 17 Mar 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/label.cpp
    M src/gui/widgets/label.hpp
    M src/gui/widgets/styled_widget.cpp
    M src/gui/widgets/styled_widget.hpp

  Log Message:
  -----------
  Demote can_shrink key from global widget scope to label-only

It was causing problems being enabled for all labels (ie, some labels being shrunken when it wasn't desirable),
and it didn't make much sense for all widgets anyway.


  Commit: 9e258472c1b8668560e8846ae20acf2b76d858d3
      https://github.com/wesnoth/wesnoth/commit/9e258472c1b8668560e8846ae20acf2b76d858d3
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-03-17 (Fri, 17 Mar 2017)

  Changed paths:
    M data/gui/window/file_dialog.cfg
    M data/gui/window/game_load.cfg

  Log Message:
  -----------
  Allowed some immediately obvious labels to shrink

These were the ones this key was introduced to address.


Compare: https://github.com/wesnoth/wesnoth/compare/e0b85e5ddad7...9e258472c1b8


More information about the Commits mailing list