Convert Control to ContainerControl.

This commit is contained in:
Jean-Baptiste Perrier
2021-03-17 20:53:42 +01:00
parent fb70368c8d
commit c8b57d417c
7 changed files with 13 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ namespace FlaxEngine.GUI
/// <summary>
/// Button control
/// </summary>
public class Button : Control
public class Button : ContainerControl
{
/// <summary>
/// The default height fro the buttons.
@@ -171,7 +171,7 @@ namespace FlaxEngine.GUI
}
/// <inheritdoc />
public override void Draw()
public override void DrawSelf()
{
// Cache data
Rectangle clientRect = new Rectangle(Vector2.Zero, Size);