|
@@ -137,37 +137,37 @@ Framework::XML::Element* UIElement::toUIML(
|
|
|
result->setAttribute("id", id);
|
|
result->setAttribute("id", id);
|
|
|
if (!marginLeft.istGleich("0"))
|
|
if (!marginLeft.istGleich("0"))
|
|
|
{
|
|
{
|
|
|
- result->setAttribute("marginLeft", marginLeft);
|
|
|
|
|
|
|
+ result->setAttribute("margin-left", marginLeft);
|
|
|
}
|
|
}
|
|
|
if (!marginRight.istGleich("0"))
|
|
if (!marginRight.istGleich("0"))
|
|
|
{
|
|
{
|
|
|
- result->setAttribute("marginRight", marginRight);
|
|
|
|
|
|
|
+ result->setAttribute("margin-right", marginRight);
|
|
|
}
|
|
}
|
|
|
if (!marginTop.istGleich("0"))
|
|
if (!marginTop.istGleich("0"))
|
|
|
{
|
|
{
|
|
|
- result->setAttribute("marginTop", marginTop);
|
|
|
|
|
|
|
+ result->setAttribute("margin-top", marginTop);
|
|
|
}
|
|
}
|
|
|
if (!marginBottom.istGleich("0"))
|
|
if (!marginBottom.istGleich("0"))
|
|
|
{
|
|
{
|
|
|
- result->setAttribute("marginBottom", marginBottom);
|
|
|
|
|
|
|
+ result->setAttribute("margin-bottom", marginBottom);
|
|
|
}
|
|
}
|
|
|
result->setAttribute("width", width);
|
|
result->setAttribute("width", width);
|
|
|
result->setAttribute("height", height);
|
|
result->setAttribute("height", height);
|
|
|
if (alignLeft.getLength() > 0)
|
|
if (alignLeft.getLength() > 0)
|
|
|
{
|
|
{
|
|
|
- result->setAttribute("alignLeft", alignLeft);
|
|
|
|
|
|
|
+ result->setAttribute("align-left", alignLeft);
|
|
|
}
|
|
}
|
|
|
if (alignRight.getLength() > 0)
|
|
if (alignRight.getLength() > 0)
|
|
|
{
|
|
{
|
|
|
- result->setAttribute("alignRight", alignRight);
|
|
|
|
|
|
|
+ result->setAttribute("align-right", alignRight);
|
|
|
}
|
|
}
|
|
|
if (alignTop.getLength() > 0)
|
|
if (alignTop.getLength() > 0)
|
|
|
{
|
|
{
|
|
|
- result->setAttribute("alignTop", alignTop);
|
|
|
|
|
|
|
+ result->setAttribute("align-top", alignTop);
|
|
|
}
|
|
}
|
|
|
if (alignBottom.getLength() > 0)
|
|
if (alignBottom.getLength() > 0)
|
|
|
{
|
|
{
|
|
|
- result->setAttribute("alignBottom", alignBottom);
|
|
|
|
|
|
|
+ result->setAttribute("align-bottom", alignBottom);
|
|
|
}
|
|
}
|
|
|
if (style.getLength() > 0)
|
|
if (style.getLength() > 0)
|
|
|
{
|
|
{
|