[Commits] [wesnoth/wesnoth] da5f00: GUI2/Spacer: delegate size caluclations to the wid...

GitHub noreply at github.com
Wed Apr 12 05:16:42 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: da5f00c2b671b79fcec8c36aa5316e1c7663a355
      https://github.com/wesnoth/wesnoth/commit/da5f00c2b671b79fcec8c36aa5316e1c7663a355
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
    M src/gui/widgets/spacer.cpp
    M src/gui/widgets/spacer.hpp

  Log Message:
  -----------
  GUI2/Spacer: delegate size caluclations to the widget instead of the builder

This allows size formulae that rely on screen size variables, which can change, to correctly
update the size of the widget.





More information about the Commits mailing list