[Commits] [wesnoth/wesnoth] 9d7a55: tlabel: align text to top of available space

GitHub noreply at github.com
Sun Mar 6 13:54:55 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9d7a55d43381b82745cfb9f9e27c0455b0cff7a2
      https://github.com/wesnoth/wesnoth/commit/9d7a55d43381b82745cfb9f9e27c0455b0cff7a2
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-03-07 (Mon, 07 Mar 2016)

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

  Log Message:
  -----------
  tlabel: align text to top of available space

In most cases, the widget size is the size of the text and looks no different
with this change. However, in cases where the label widget area is larger than
the text (such as in Unit Create), it resulted in text being rendered in the
middle of the available space, which looked weird.





More information about the Commits mailing list