[wesnoth-commits] [wesnoth/wesnoth] bb15f8: ui: Fix font and box sizes for unit defense labels...

Iris Morelle noreply at github.com
Thu Mar 18 03:09:58 UTC 2021


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: bb15f805c0c3b27cdb96ca14fca2ce46d4b5b406
      https://github.com/wesnoth/wesnoth/commit/bb15f805c0c3b27cdb96ca14fca2ce46d4b5b406
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M data/themes/default.cfg

  Log Message:
  -----------
  ui: Fix font and box sizes for unit defense labels on the sidebar

This fixes the "def" label (previously unknown to everybody before the
sdl_ttf_compat API transition!) having the wrong box size and alignment.
This also extends to its accompanying unit defense report, which had the
wrong font size entirely.


  Commit: f2e7a9b5f9a42750d2a5ee4d083864caaa03c8bc
      https://github.com/wesnoth/wesnoth/commit/f2e7a9b5f9a42750d2a5ee4d083864caaa03c8bc
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M data/themes/default.cfg

  Log Message:
  -----------
  ui: Reduce unit HP/XP/MP/Def font sizes and line heights on 1024x600

Fixes the unit name overlapping the MP and defense reports.

CC #5575


  Commit: 562dfffddc2053700601e26dce4474c6020f22df
      https://github.com/wesnoth/wesnoth/commit/562dfffddc2053700601e26dce4474c6020f22df
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M data/themes/default.cfg

  Log Message:
  -----------
  ui: Rearrange and resize the unit vision and XP labels slightly

This makes it so the unit vision label uses a smaller font on smaller
resolutions. It also makes it so it doesn't take space away from the XP
report for all resolutions. Meanwhile, the XP report has more space.

CC #5575


  Commit: 984571dfe1e04f304dbc0ea70da0ead6d4a8b16a
      https://github.com/wesnoth/wesnoth/commit/984571dfe1e04f304dbc0ea70da0ead6d4a8b16a
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M data/themes/default.cfg

  Log Message:
  -----------
  ui: Reduce font size for the ToD counter

*Should* generally fix counters like 14/15 getting ellipsized. There was
no real reason for it to be so large to begin with.


  Commit: c4c5629c660c219c3ca3c8b842769a8dc135a86a
      https://github.com/wesnoth/wesnoth/commit/c4c5629c660c219c3ca3c8b842769a8dc135a86a
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M data/themes/default.cfg

  Log Message:
  -----------
  ui: Fix bad x position for the theme UI battery status on low resolutions


Compare: https://github.com/wesnoth/wesnoth/compare/23fc50925641...c4c5629c660c



More information about the Commits mailing list