Verb icon tiling (#8457)
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Content.Client.ContextMenu.UI
|
||||
/// <summary>
|
||||
/// This is the main body of the menu. The menu entries should be added to this object.
|
||||
/// </summary>
|
||||
public BoxContainer MenuBody = new() { Orientation = LayoutOrientation.Vertical };
|
||||
public GridContainer MenuBody = new();
|
||||
|
||||
private ContextMenuPresenter _presenter;
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace Content.Client.ContextMenu.UI
|
||||
_presenter = presenter;
|
||||
ParentElement = parentElement;
|
||||
|
||||
// TODO xaml controls now have the access options -> re-xamlify all this.
|
||||
//XAML controls are private. So defining and adding MenuBody here instead.
|
||||
Scroll.AddChild(MenuBody);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user