mirror of https://github.com/ppy/osu
Fix attributes header not being aligned with content in editor timing mode
This commit is contained in:
parent
115ad4c745
commit
6b26a18a23
|
@ -74,7 +74,8 @@ private TableColumn[] createHeaders()
|
|||
{
|
||||
new TableColumn(string.Empty, Anchor.Centre, new Dimension(GridSizeMode.AutoSize)),
|
||||
new TableColumn("Time", Anchor.Centre, new Dimension(GridSizeMode.AutoSize)),
|
||||
new TableColumn("Attributes", Anchor.Centre),
|
||||
new TableColumn(),
|
||||
new TableColumn("Attributes", Anchor.CentreLeft),
|
||||
};
|
||||
|
||||
return columns.ToArray();
|
||||
|
@ -93,6 +94,7 @@ private TableColumn[] createHeaders()
|
|||
Text = group.Time.ToEditorFormattedString(),
|
||||
Font = OsuFont.GetFont(size: text_size, weight: FontWeight.Bold)
|
||||
},
|
||||
null,
|
||||
new ControlGroupAttributes(group),
|
||||
};
|
||||
|
||||
|
@ -108,7 +110,6 @@ public ControlGroupAttributes(ControlPointGroup group)
|
|||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Direction = FillDirection.Horizontal,
|
||||
Padding = new MarginPadding(10),
|
||||
Spacing = new Vector2(2)
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue