[Commits] [wesnoth/wesnoth] 556331: GUI2: implemented fixed_width and fixed_height key...

GitHub noreply at github.com
Sat Nov 11 12:13:34 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 556331ac3f53f2fd58fd4e137cf86af71d5c064b
      https://github.com/wesnoth/wesnoth/commit/556331ac3f53f2fd58fd4e137cf86af71d5c064b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-11-11 (Sat, 11 Nov 2017)

  Changed paths:
    M changelog
    M data/gui/schema.cfg
    M src/gui/core/window_builder.cpp
    M src/gui/core/window_builder.hpp
    M src/gui/widgets/widget.cpp
    M src/gui/widgets/widget.hpp
    M src/gui/widgets/window.hpp

  Log Message:
  -----------
  GUI2: implemented fixed_width and fixed_height keys for all widgets

This is meant to be a cleaner replacement to the [size_lock] widget. Both keys are optional,
in which case the layout engine will assume dynamic sizing for that dimension. Dynamic sizing
will also occur if either the fixed with or height evaluates to 0 or less.


  Commit: 9f386ed563e84e355130a940be804d13bf5b3d9c
      https://github.com/wesnoth/wesnoth/commit/9f386ed563e84e355130a940be804d13bf5b3d9c
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-11-11 (Sat, 11 Nov 2017)

  Changed paths:
    M data/gui/macros/_initial.cfg
    M data/gui/window/lobby_main.cfg
    M data/gui/window/mp_join_game.cfg
    M data/gui/window/mp_staging.cfg

  Log Message:
  -----------
  GUI2: removed GUI_FORCE_WIDGET_SIZE macro in favor of fixed_width/fixed_height keys

[ci skip]


Compare: https://github.com/wesnoth/wesnoth/compare/378b9199ae63...9f386ed563e8


More information about the Commits mailing list