mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-08 07:46:29 +02:00
Reorganize project structure
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using RemSox.Kernel.UI.GUI.Windows;
|
||||
|
||||
namespace RemSox.Kernel.UI.GUI.Layout;
|
||||
|
||||
public static class LayoutExtensions
|
||||
{
|
||||
public static StackLayout CreateStackLayout(this Window window, int x, int y, int spacing = 0, StackOrientation orientation = StackOrientation.Vertical)
|
||||
{
|
||||
return new StackLayout(window, x, y, spacing, orientation);
|
||||
}
|
||||
|
||||
public static GridLayout CreateGridLayout(this Window window, int x, int y, int[] colWidths, int[] rowHeights, int spacing = 0)
|
||||
{
|
||||
return new GridLayout(window, x, y, colWidths, rowHeights, spacing);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user