Namespace: DeltaEngine.Scenes
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Scenes.Tests.AutoArrangingMenuTests
2 unit tests call DeltaEngine.Scenes.AutoArrangingMenu.ButtonSize
Assembly: DeltaEngine.Scenes (in DeltaEngine.Scenes.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: SizeRemarks
Examples
[Test, CloseAfterFirstFrame] public void CreatingSetsButtonSizeAndMenuCenter() { Assert.AreEqual(ButtonSize, menu.ButtonSize); Assert.AreEqual(Vector2D.Half, menu.Center); }
[Test, CloseAfterFirstFrame, Timeout(2000)] public void ChangingButtonSize() { menu.ButtonSize = Size.Half; Assert.AreEqual(Size.Half, menu.ButtonSize); }
See Also