瀏覽代碼

Fix outdated Anchor/Layout section

Chris Bradfield 7 年之前
父節點
當前提交
3e8da6b2dc
共有 2 個文件被更改,包括 8 次插入8 次删除
  1. 二進制
      learning/step_by_step/img/ui_anchor.png
  2. 8 8
      learning/step_by_step/your_first_game.rst

二進制
learning/step_by_step/img/ui_anchor.png


+ 8 - 8
learning/step_by_step/your_first_game.rst

@@ -606,12 +606,12 @@ placement, use the following settings:
 ScoreLabel
 ~~~~~~~~~~
 
--  ``Anchor``: "Center Top"
+-  ``Layout``: "Center Top"
 -  ``Margin``:
 
-   -  Left: ``-240``
+   -  Left: ``-25``
    -  Top: ``0``
-   -  Right: ``240``
+   -  Right: ``25``
    -  Bottom: ``100``
 
 -  Text: ``0``
@@ -619,20 +619,20 @@ ScoreLabel
 MessageLabel
 ~~~~~~~~~~~~
 
--  ``Anchor``: "Center"
+-  ``Layout``: "Center Bottom"
 -  ``Margin``:
 
-   -  Left: ``-240``
+   -  Left: ``-100``
    -  Top: ``-200``
-   -  Right: ``240``
-   -  Bottom: ``60``
+   -  Right: ``100``
+   -  Bottom: ``-100``
 
 -  Text: ``Dodge the Creeps!``
 
 StartButton
 ~~~~~~~~~~~
 
--  ``Anchor``: "Center"
+-  ``Layout``: "Center"
 -  ``Margin``:
 
    -  Left: ``-60``