[Commits] [wesnoth/wesnoth-old] c054a5: gui1: Reduce menu column text padding to 2px, use ...

GitHub noreply at github.com
Sun Feb 16 01:00:28 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth-old
  Commit: c054a5e89a3f2c54206fd310e4d2b33231685b63
      https://github.com/wesnoth/wesnoth-old/commit/c054a5e89a3f2c54206fd310e4d2b33231685b63
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-02-15 (Sat, 15 Feb 2014)

  Changed paths:
    M src/widgets/menu.cpp

  Log Message:
  -----------
  gui1: Reduce menu column text padding to 2px, use only on headers


  Commit: 393ebb447cc5e5615fbde9414ebb67c36301bb44
      https://github.com/wesnoth/wesnoth-old/commit/393ebb447cc5e5615fbde9414ebb67c36301bb44
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-02-15 (Sat, 15 Feb 2014)

  Changed paths:
    M data/gui/default/widget/progress_bar_default.cfg

  Log Message:
  -----------
  gui2/tprogress_bar: Use same background as listbox (children) widgets

Replaces the solid RGB background with the generic RGBA background
defined in GUI__BACKGROUND_COLOR_ENABLED.


  Commit: a4340c9375fa3e74a8e285596a4e9bad35f7dc78
      https://github.com/wesnoth/wesnoth-old/commit/a4340c9375fa3e74a8e285596a4e9bad35f7dc78
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-02-15 (Sat, 15 Feb 2014)

  Changed paths:
    M data/gui/default/window/chat_log.cfg

  Log Message:
  -----------
  gui2/tchat_log: Use GUI_FORCE_WIDGET_MINIMUM_SIZE macro instead of local hack

Turns out there already was a somewhat more elegant solution in use for
the GUI2 lobby and macroified for everyone else. It uses a
stacked_widget with a spacer within instead of the awkward 2x2
{[central widget,spacer],[spacer,spacer]} grid we were using here.


Compare: https://github.com/wesnoth/wesnoth-old/compare/f8f9338d5544...a4340c9375fa


More information about the Commits mailing list