mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
follow same conventions as brushes
This commit is contained in:
parent
a46df0e790
commit
644b6335dd
@ -383,7 +383,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
|
|||||||
|
|
||||||
private static void ApplyTransformations_UIElement(UIElement uiElement, XElement xmlElement)
|
private static void ApplyTransformations_UIElement(UIElement uiElement, XElement xmlElement)
|
||||||
{
|
{
|
||||||
var renderTransform = xmlElement.Element("RenderTransform");
|
var renderTransform = xmlElement.Element($"{xmlElement.Name}.RenderTransform");
|
||||||
|
|
||||||
if (renderTransform != null)
|
if (renderTransform != null)
|
||||||
{
|
{
|
||||||
@ -594,7 +594,7 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
|
|||||||
if (contentAttr != null)
|
if (contentAttr != null)
|
||||||
return contentAttr.Value.ToString();
|
return contentAttr.Value.ToString();
|
||||||
|
|
||||||
var contentElement = xmlElement.Element("Content");
|
var contentElement = xmlElement.Element($"{xmlElement.Name}.Content");
|
||||||
if (contentElement != null)
|
if (contentElement != null)
|
||||||
{
|
{
|
||||||
var first = contentElement.FirstNode as XElement;
|
var first = contentElement.FirstNode as XElement;
|
||||||
|
Loading…
Reference in New Issue
Block a user