Rename Control margin to offset
This commit is contained in:
@ -27,10 +27,10 @@
|
||||
<method name="get_border_width" qualifiers="const">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="margin" type="int" enum="Margin">
|
||||
<argument index="0" name="side" type="int" enum="Side">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the given [code]margin[/code]'s border width. See [enum Margin] for possible values.
|
||||
Returns the specified [enum Side]'s border width.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_border_width_min" qualifiers="const">
|
||||
@ -52,21 +52,21 @@
|
||||
<method name="get_expand_margin" qualifiers="const">
|
||||
<return type="float">
|
||||
</return>
|
||||
<argument index="0" name="margin" type="int" enum="Margin">
|
||||
<argument index="0" name="side" type="int" enum="Side">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the size of the given [code]margin[/code]'s expand margin. See [enum Margin] for possible values.
|
||||
Returns the size of the specified [enum Side]'s expand margin.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_border_width">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="margin" type="int" enum="Margin">
|
||||
<argument index="0" name="side" type="int" enum="Side">
|
||||
</argument>
|
||||
<argument index="1" name="width" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the border width to [code]width[/code] pixels for the given [code]margin[/code]. See [enum Margin] for possible values.
|
||||
Sets the specified [enum Side]'s border width to [code]width[/code] pixels.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_border_width_all">
|
||||
@ -75,7 +75,7 @@
|
||||
<argument index="0" name="width" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the border width to [code]width[/code] pixels for all margins.
|
||||
Sets the border width to [code]width[/code] pixels for all sides.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_corner_radius">
|
||||
@ -116,12 +116,12 @@
|
||||
<method name="set_expand_margin">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="margin" type="int" enum="Margin">
|
||||
<argument index="0" name="side" type="int" enum="Side">
|
||||
</argument>
|
||||
<argument index="1" name="size" type="float">
|
||||
</argument>
|
||||
<description>
|
||||
Sets the expand margin to [code]size[/code] pixels for the given [code]margin[/code]. See [enum Margin] for possible values.
|
||||
Sets the expand margin to [code]size[/code] pixels for the specified [enum Side].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_expand_margin_all">
|
||||
|
||||
Reference in New Issue
Block a user