/// <summary> /// Quick Method to create a new ElementBounds instance that draws a background for a dialog /// </summary> public static ElementBounds MainScreenRightPart() { ElementBounds bounds = ElementBounds.Percentual(EnumDialogArea.RightMiddle, 1, 1); bounds.horizontalSizing = ElementSizing.PercentualSubstractFixed; bounds.fixedWidth = mainMenuUnscaledLogoSize + mainMenuUnscaledLogoHorPadding * 2 + mainMenuUnscaledWoodPlankWidth; return(bounds); }