D15534: Reduce wasted space for Klondike and Grandfather

Karl Ove Hufthammer noreply at phabricator.kde.org
Thu Sep 20 18:53:25 BST 2018


huftis added a comment.


  In D15534#328659 <https://phabricator.kde.org/D15534#328659>, @fabiank wrote:
  
  > This does indeed look better, and I didn't saw issues at screen resolutions I could test.
  >
  > One question however: Did you get those numbers simply by trial and error, or is there some meaning behind them?
  
  
  I got them by trial and error. They’re based on a tradeoff between having large cards and having enough space for long piles.
  
  While the padding value used for Klondike is based on some calculations (i.e. it uses a multiple of `play[i]->spread().y()`), the padding values in all the solitaire variants seem to basically be just numbers chosen so that things look all right.

REPOSITORY
  R410 KPatience

REVISION DETAIL
  https://phabricator.kde.org/D15534

To: huftis, #kde_games, fabiank, mlaurent
Cc: kde-games-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20180920/a5f9dfa5/attachment.html>


More information about the kde-games-devel mailing list