Jelajahi Sumber

add info about presets to GUI size and anchors page

eddex 5 tahun lalu
induk
melakukan
994cace55f
2 mengubah file dengan 10 tambahan dan 0 penghapusan
  1. TEMPAT SAMPAH
      tutorials/gui/img/presets.png
  2. 10 0
      tutorials/gui/size_and_anchors.rst

TEMPAT SAMPAH
tutorials/gui/img/presets.png


+ 10 - 0
tutorials/gui/size_and_anchors.rst

@@ -63,3 +63,13 @@ a TextureRect can be centered in its parent:
 Setting each anchor to 0.5 moves the reference point for the margins to
 Setting each anchor to 0.5 moves the reference point for the margins to
 the center of its parent. From there, we set negative margins so that
 the center of its parent. From there, we set negative margins so that
 the control gets its natural size.
 the control gets its natural size.
+
+Presets
+-------
+
+Instead of manually adjusting the margin or anchor values, you can achieve
+the same by using the presets provided by the editor. Presets can be accessed
+in the top bar of the editor. Besides centering a control, there are also
+many other options available.
+
+.. image:: img/presets.png