From d078f144fdc7cba20c81328c79aa25c8dc8279a8 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 23 Aug 2019 00:15:00 +0200 Subject: [PATCH] fix weird grammar but ok --- Demos/UiDemo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demos/UiDemo.cs b/Demos/UiDemo.cs index 5c4354e..bed85a4 100644 --- a/Demos/UiDemo.cs +++ b/Demos/UiDemo.cs @@ -65,7 +65,7 @@ namespace Demos { root.AddChild(new Paragraph(Anchor.AutoLeft, 1, "This is a small demo for MLEM.Ui, a user interface library that is part of (M)LEM (L)ibrary by (E)llpeck for (M)onoGame."){LineSpace = 1.5F}); var image = root.AddChild(new Image(Anchor.AutoCenter, new Vector2(50, 50), new TextureRegion(this.testTexture, 0, 0, 8, 8)) {IsHidden = true, Padding = new Point(3)}); - // Setting their the x or y coordinate to 1 or a lower number causes the width or height to be a percentage of the parent's width or height + // Setting the x or y coordinate of the size to 1 or a lower number causes the width or height to be a percentage of the parent's width or height // (for example, setting the size's x to 0.75 would make the element's width be 0.75*parentWidth) root.AddChild(new Button(Anchor.AutoCenter, new Vector2(1, 10), "Toggle Test Image", "This button shows a grass tile as a test image to show the automatic anchoring of objects.") { OnClicked = (element, button) => {