diff --git a/Bloxstrap/UI/Elements/Bootstrapper/CustomDialog.Creator.cs b/Bloxstrap/UI/Elements/Bootstrapper/CustomDialog.Creator.cs index 9031584..96f65dd 100644 --- a/Bloxstrap/UI/Elements/Bootstrapper/CustomDialog.Creator.cs +++ b/Bloxstrap/UI/Elements/Bootstrapper/CustomDialog.Creator.cs @@ -501,6 +501,9 @@ namespace Bloxstrap.UI.Elements.Bootstrapper var image = new Image(); HandleXmlElement_FrameworkElement(dialog, image, xmlElement); + image.Stretch = ParseXmlAttribute(xmlElement, "Stretch", Stretch.Uniform); + image.StretchDirection = ParseXmlAttribute(xmlElement, "StretchDirection", StretchDirection.Both); + string sourcePath = GetXmlAttribute(xmlElement, "Source"); sourcePath = sourcePath.Replace("theme://", $"{dialog.ThemeDir}\\");