Skip to content

Commit

Permalink
Add margin input value order as a comment (#5067)
Browse files Browse the repository at this point in the history
* Add margin input value order as a comment

* Make a better comment and move value to remark
  • Loading branch information
ShadowCommander authored Apr 27, 2024
1 parent cee8d42 commit 40a9048
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Robust.Client/UserInterface/Control.Layout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ public partial class Control
[ViewVariables] public bool IsMeasureValid { get; private set; }
[ViewVariables] public bool IsArrangeValid { get; private set; }

/// <summary>
/// Controls the amount of empty space in virtual pixels around the control.
/// </summary>
/// <remarks>Values can be provided as "All" or "Horizontal, Vertical" or "Left, Top, Right, Bottom"</remarks>
[ViewVariables]
public Thickness Margin
{
Expand Down

0 comments on commit 40a9048

Please sign in to comment.