[wesnoth-commits] [wesnoth/wesnoth] 390cc9: gui2/file_dialog: Always reserve space for non-fol...

Iris Morelle noreply at github.com
Mon Feb 3 22:21:10 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 390cc9953f4063f05207fe11ccf4bbcaeacd1f41
      https://github.com/wesnoth/wesnoth/commit/390cc9953f4063f05207fe11ccf4bbcaeacd1f41
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M src/gui/dialogs/file_dialog.cpp

  Log Message:
  -----------
  gui2/file_dialog: Always reserve space for non-folder icons

This prevents the list's geometry from changing considerably when
navigating into a folder that has no subfolders of its own because of
the lack of icons. We use an empty icon of the same size as the folder
icon for this purpose.





More information about the Commits mailing list