Class UnityCutsceneDialogPanelBuilderTests
The dialog box built in code sits at the bottom of the overlay, fits any width up to a cap, keeps that width when the overlay is resized, blocks no pointer and takes only the font from the UI theme; with no font at all it is not built.
Inherited Members
Namespace: Serenity.UnityCutscenePlayer.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityCutsceneDialogPanelBuilderTests
Constructors
UnityCutsceneDialogPanelBuilderTests()
Declaration
public UnityCutsceneDialogPanelBuilderTests()
Methods
Build_AfterTheParentIsResized_KeepsTheWidthWithinTheCap()
Declaration
public void Build_AfterTheParentIsResized_KeepsTheWidthWithinTheCap()
Build_AnchorsThePanelToTheBottomBetweenTwoSideMargins()
Declaration
public void Build_AnchorsThePanelToTheBottomBetweenTwoSideMargins()
Build_BlocksNoPointer()
Declaration
public void Build_BlocksNoPointer()
Build_FitsTheParentWidthUpToTheCap(float)
Declaration
public void Build_FitsTheParentWidthUpToTheCap(float parentWidth)
Parameters
| Type | Name | Description |
|---|---|---|
| float | parentWidth |
Build_LongText_ShrinksToTheSmallestSizeAndEndsCutOff()
Declaration
public void Build_LongText_ShrinksToTheSmallestSizeAndEndsCutOff()
Build_NamesTheObjectsAfterTheirRole()
Declaration
public void Build_NamesTheObjectsAfterTheirRole()
Build_PutsThePanelAboveEarlierSiblings()
Declaration
public void Build_PutsThePanelAboveEarlierSiblings()
Build_ShortText_KeepsTheLargestSizeAndFits()
Declaration
public void Build_ShortText_KeepsTheLargestSizeAndFits()
Build_ThemeWithoutComponents_UsesTmpDefaults()
Declaration
public void Build_ThemeWithoutComponents_UsesTmpDefaults()
Build_ThemeWithoutTitleText_UsesTmpDefaults()
Declaration
public void Build_ThemeWithoutTitleText_UsesTmpDefaults()
Build_WithADarkThemeTitle_TakesOnlyItsFont()
Declaration
public void Build_WithADarkThemeTitle_TakesOnlyItsFont()
Build_WithAThemeFontButNoTmpDefault_BuildsThePanel()
Declaration
public void Build_WithAThemeFontButNoTmpDefault_BuildsThePanel()
Build_WithATitleTextInactiveInTheTemplate_StillTakesItsFont()
Declaration
public void Build_WithATitleTextInactiveInTheTemplate_StillTakesItsFont()
Build_WithNeitherThemeFontNorTmpDefault_ReturnsNullAndCreatesNothing()
Declaration
public void Build_WithNeitherThemeFontNorTmpDefault_ReturnsNullAndCreatesNothing()
Build_WithoutATheme_UsesTmpDefaults()
Declaration
public void Build_WithoutATheme_UsesTmpDefaults()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()