refactoring to get middle/center, possibly more
This commit is contained in:
+1
-1
@@ -9,4 +9,4 @@ width
|
||||
height
|
||||
default: ``:deck`` (the height of the deck)
|
||||
|
||||
the height of the box. Supports :doc:`/units`.
|
||||
the height of the box. Supports :doc:`/units`. Also can be ``:center`` or ``:middle`` for half the height of the deck. Supports :doc:`/units`.
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
.. :orphan:
|
||||
|
||||
x
|
||||
default: ``0``
|
||||
|
||||
the x-coordinate to place, relative to the upper-left corner of the card and moving right as it increases. Supports :doc:`/units`.
|
||||
|
||||
Also can be ``:center`` or ``:middle`` for half the width of the deck.
|
||||
|
||||
|
||||
y
|
||||
default: ``0``
|
||||
|
||||
the y-coordinate to place, relative to the upper-left corner of the card and moving downward as it increases. Supports :doc:`/units`.
|
||||
|
||||
Also can be ``:center`` or ``:middle`` for half the height of the deck.
|
||||
Reference in New Issue
Block a user