This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new ca04ba79f7 Cleaned up padding
ca04ba79f7 is described below
commit ca04ba79f7694dbf38fa908e7f08fe524d6fdb09
Author: Harbs <[email protected]>
AuthorDate: Thu Feb 26 01:18:07 2026 +0200
Cleaned up padding
---
.../Style/src/main/resources/basic-manifest.xml | 10 -
.../royale/style/stylebeads/spacing/Padding.as | 333 +++++++++++++++++++--
.../style/stylebeads/spacing/PaddingBlock.as | 28 --
.../style/stylebeads/spacing/PaddingBlockEnd.as | 28 --
.../style/stylebeads/spacing/PaddingBlockStart.as | 28 --
.../style/stylebeads/spacing/PaddingBottom.as | 28 --
.../style/stylebeads/spacing/PaddingInline.as | 28 --
.../style/stylebeads/spacing/PaddingInlineEnd.as | 28 --
.../style/stylebeads/spacing/PaddingInlineStart.as | 28 --
.../royale/style/stylebeads/spacing/PaddingLeft.as | 28 --
.../style/stylebeads/spacing/PaddingRight.as | 28 --
.../royale/style/stylebeads/spacing/PaddingTop.as | 28 --
12 files changed, 313 insertions(+), 310 deletions(-)
diff --git a/frameworks/projects/Style/src/main/resources/basic-manifest.xml
b/frameworks/projects/Style/src/main/resources/basic-manifest.xml
index 8832e14b55..1495d10698 100644
--- a/frameworks/projects/Style/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Style/src/main/resources/basic-manifest.xml
@@ -206,16 +206,6 @@
<component id="MarginRight"
class="org.apache.royale.style.stylebeads.spacing.MarginRight"/>
<component id="MarginTop"
class="org.apache.royale.style.stylebeads.spacing.MarginTop"/>
<component id="Padding"
class="org.apache.royale.style.stylebeads.spacing.Padding"/>
- <component id="PaddingBlock"
class="org.apache.royale.style.stylebeads.spacing.PaddingBlock"/>
- <component id="PaddingBlockEnd"
class="org.apache.royale.style.stylebeads.spacing.PaddingBlockEnd"/>
- <component id="PaddingBlockStart"
class="org.apache.royale.style.stylebeads.spacing.PaddingBlockStart"/>
- <component id="PaddingBottom"
class="org.apache.royale.style.stylebeads.spacing.PaddingBottom"/>
- <component id="PaddingInline"
class="org.apache.royale.style.stylebeads.spacing.PaddingInline"/>
- <component id="PaddingInlineEnd"
class="org.apache.royale.style.stylebeads.spacing.PaddingInlineEnd"/>
- <component id="PaddingInlineStart"
class="org.apache.royale.style.stylebeads.spacing.PaddingInlineStart"/>
- <component id="PaddingLeft"
class="org.apache.royale.style.stylebeads.spacing.PaddingLeft"/>
- <component id="PaddingRight"
class="org.apache.royale.style.stylebeads.spacing.PaddingRight"/>
- <component id="PaddingTop"
class="org.apache.royale.style.stylebeads.spacing.PaddingTop"/>
<component id="Fill" class="org.apache.royale.style.stylebeads.svg.Fill"/>
<component id="BorderCollapse"
class="org.apache.royale.style.stylebeads.tables.BorderCollapse"/>
<component id="BorderSpacing"
class="org.apache.royale.style.stylebeads.tables.BorderSpacing"/>
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/Padding.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/Padding.as
index 55c4b2a0ea..00562db25d 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/Padding.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/Padding.as
@@ -18,36 +18,329 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.royale.style.stylebeads.spacing
{
- import org.apache.royale.style.stylebeads.SingleStyleBase;
import org.apache.royale.debugging.assert;
- import org.apache.royale.style.util.ThemeManager;
- import org.apache.royale.style.util.CSSUnit;
-
- public class Padding extends SingleStyleBase
+ import org.apache.royale.style.stylebeads.CompositeStyle;
+ /**
+ * @royalesuppressexport
+ */
+ public class Padding extends CompositeStyle
{
- public function Padding(selectorPrefix:String = "p",
rulePrefix:String = "padding")
+ public function Padding()
{
- super(selectorPrefix, rulePrefix);
+ super();
+ styles = [];
}
public var unit:String = "px";
- private function toSelector(value:String):String
+ private var paddingStyle:Pad;
+ private var topStyle:Top;
+ private var rightStyle:Right;
+ private var bottomStyle:Bottom;
+ private var leftStyle:Left;
+ private var blockStyle:Block;
+ private var blockStartStyle:BlockStart;
+ private var blockEndStyle:BlockEnd;
+ private var inlineStyle:Inline;
+ private var inlineStartStyle:InlineStart;
+ private var inlineEndStyle:InlineEnd;
+ private var _padding:*;
+
+ public function get padding():*
+ {
+ return _padding;
+ }
+ public function set padding(value:*):void
+ {
+ if(!paddingStyle)
+ {
+ paddingStyle = new Pad();
+ paddingStyle.unit = unit;
+ styles.push(paddingStyle);
+ }
+ paddingStyle.value = value;
+ _padding = value;
+ }
+ private var _top:*;
+
+ public function get top():*
+ {
+ return _top;
+ }
+
+ public function set top(value:*):void
+ {
+ if(!topStyle)
+ {
+ topStyle = new Top();
+ topStyle.unit = unit;
+ styles.push(topStyle);
+ }
+ topStyle.value = value;
+ _top = value;
+ }
+ private var _right:*;
+
+ public function get right():*
+ {
+ return _right;
+ }
+
+ public function set right(value:*):void
+ {
+ if(!rightStyle)
+ {
+ rightStyle = new Right();
+ rightStyle.unit = unit;
+ styles.push(rightStyle);
+ }
+ rightStyle.value = value;
+ _right = value;
+ }
+ private var _bottom:*;
+
+ public function get bottom():*
+ {
+ return _bottom;
+ }
+
+ public function set bottom(value:*):void
+ {
+ if(!bottomStyle)
+ {
+ bottomStyle = new Bottom();
+ bottomStyle.unit = unit;
+ styles.push(bottomStyle);
+ }
+ bottomStyle.value = value;
+ _bottom = value;
+ }
+ private var _left:*;
+
+ public function get left():*
+ {
+ return _left;
+ }
+
+ public function set left(value:*):void
+ {
+ if(!leftStyle)
+ {
+ leftStyle = new Left();
+ leftStyle.unit = unit;
+ styles.push(leftStyle);
+ }
+ leftStyle.value = value;
+ _left = value;
+ }
+ private var _block:*;
+
+ public function get block():*
{
- return value.replace(" ", "-");
+ return _block;
}
- override public function set value(value:*):void
+
+ public function set block(value:*):void
{
- var selectorValue:String = value;
- var ruleValue:String = selectorValue;
- assert(selectorValue.indexOf("--") != 0, "css variables
for grid-template-columns not yet supported: " + value);
- if(int(value) == value)
+ if(!blockStyle)
{
- assert(value >= 0, "Invalid value for padding:
" + value);
- var pixelValue:Number =
ThemeManager.instance.activeTheme.spacing * value;
- ruleValue = CSSUnit.convert(pixelValue,
CSSUnit.PX, unit) + unit;
+ blockStyle = new Block();
+ blockStyle.unit = unit;
+ styles.push(blockStyle);
}
- _value = value;
- calculatedRuleValue = ruleValue;
- calculatedSelector = toSelector(value);
+ blockStyle.value = value;
+ _block = value;
+ }
+ private var _blockStart:*;
+
+ public function get blockStart():*
+ {
+ return _blockStart;
}
+
+ public function set blockStart(value:*):void
+ {
+ if(!blockStartStyle)
+ {
+ blockStartStyle = new BlockStart();
+ blockStartStyle.unit = unit;
+ styles.push(blockStartStyle);
+ }
+ blockStartStyle.value = value;
+ _blockStart = value;
+ }
+ private var _blockEnd:*;
+
+ public function get blockEnd():*
+ {
+ return _blockEnd;
+ }
+
+ public function set blockEnd(value:*):void
+ {
+ if(!blockEndStyle)
+ {
+ blockEndStyle = new BlockEnd();
+ blockEndStyle.unit = unit;
+ styles.push(blockEndStyle);
+ }
+ blockEndStyle.value = value;
+ _blockEnd = value;
+ }
+ private var _inline:*;
+
+ public function get inline():*
+ {
+ return _inline;
+ }
+
+ public function set inline(value:*):void
+ {
+ if(!inlineStyle)
+ {
+ inlineStyle = new Inline();
+ inlineStyle.unit = unit;
+ styles.push(inlineStyle);
+ }
+ inlineStyle.value = value;
+ _inline = value;
+ }
+ private var _inlineStart:*;
+
+ public function get inlineStart():*
+ {
+ return _inlineStart;
+ }
+
+ public function set inlineStart(value:*):void
+ {
+ if(!inlineStartStyle)
+ {
+ inlineStartStyle = new InlineStart();
+ inlineStartStyle.unit = unit;
+ styles.push(inlineStartStyle);
+ }
+ inlineStartStyle.value = value;
+ _inlineStart = value;
+ }
+ private var _inlineEnd:*;
+
+ public function get inlineEnd():*
+ {
+ return _inlineEnd;
+ }
+
+ public function set inlineEnd(value:*):void
+ {
+ if(!inlineEndStyle)
+ {
+ inlineEndStyle = new InlineEnd();
+ inlineEndStyle.unit = unit;
+ styles.push(inlineEndStyle);
+ }
+ inlineEndStyle.value = value;
+ _inlineEnd = value;
+ }
+ }
+}
+
+import org.apache.royale.debugging.assert;
+import org.apache.royale.style.stylebeads.SingleStyleBase;
+import org.apache.royale.style.util.ThemeManager;
+import org.apache.royale.style.util.CSSUnit;
+
+class Pad extends SingleStyleBase
+{
+ public function Pad(selectorPrefix:String = "p", rulePrefix:String =
"padding")
+ {
+ super(selectorPrefix, rulePrefix);
+ }
+ public var unit:String = "px";
+ private function toSelector(value:String):String
+ {
+ return value.replace(" ", "-");
+ }
+ override public function set value(value:*):void
+ {
+ var selectorValue:String = value;
+ var ruleValue:String = selectorValue;
+ assert(selectorValue.indexOf("--") != 0, "css variables for
grid-template-columns not yet supported: " + value);
+ if(int(value) == value)
+ {
+ assert(value >= 0, "Invalid value for padding: " +
value);
+ var pixelValue:Number =
ThemeManager.instance.activeTheme.spacing * value;
+ ruleValue = CSSUnit.convert(pixelValue, CSSUnit.PX,
unit) + unit;
+ }
+ _value = value;
+ calculatedRuleValue = ruleValue;
+ calculatedSelector = toSelector(value);
+ }
+}
+class Block extends Pad
+{
+ public function Block()
+ {
+ super("py", "padding-block");
+ }
+}
+class BlockEnd extends Pad
+{
+ public function BlockEnd()
+ {
+ super("pbe", "padding-block-end");
+ }
+}
+class BlockStart extends Pad
+{
+ public function BlockStart()
+ {
+ super("pbs", "padding-block-start");
+ }
+}
+class Bottom extends Pad
+{
+ public function Bottom()
+ {
+ super("pb", "padding-bottom");
+ }
+}
+class Inline extends Pad
+{
+ public function Inline()
+ {
+ super("px", "padding-inline");
+ }
+}
+class InlineEnd extends Pad
+{
+ public function InlineEnd()
+ {
+ super("pe", "padding-inline-end");
+ }
+}
+class InlineStart extends Pad
+{
+ public function InlineStart()
+ {
+ super("ps", "padding-inline-start");
+ }
+}
+class Left extends Pad
+{
+ public function Left()
+ {
+ super("pl", "padding-left");
+ }
+}
+class Right extends Pad
+{
+ public function Right()
+ {
+ super("pr", "padding-right");
+ }
+}
+class Top extends Pad
+{
+ public function Top()
+ {
+ super("pt", "padding-top");
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBlock.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBlock.as
deleted file mode 100644
index 22657ea0c4..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBlock.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads.spacing
-{
- public class PaddingBlock extends Padding
- {
- public function PaddingBlock()
- {
- super("py", "padding-block");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBlockEnd.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBlockEnd.as
deleted file mode 100644
index 0d2502a42d..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBlockEnd.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads.spacing
-{
- public class PaddingBlockEnd extends Padding
- {
- public function PaddingBlockEnd()
- {
- super("pbe", "padding-block-end");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBlockStart.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBlockStart.as
deleted file mode 100644
index c2ea436eac..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBlockStart.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads.spacing
-{
- public class PaddingBlockStart extends Padding
- {
- public function PaddingBlockStart()
- {
- super("pbs", "padding-block-start");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBottom.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBottom.as
deleted file mode 100644
index c8bd2318bf..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingBottom.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads.spacing
-{
- public class PaddingBottom extends Padding
- {
- public function PaddingBottom()
- {
- super("pb", "padding-bottom");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingInline.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingInline.as
deleted file mode 100644
index 69c883cb53..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingInline.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads.spacing
-{
- public class PaddingInline extends Padding
- {
- public function PaddingInline()
- {
- super("px", "padding-inline");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingInlineEnd.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingInlineEnd.as
deleted file mode 100644
index bf38ffa521..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingInlineEnd.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads.spacing
-{
- public class PaddingInlineEnd extends Padding
- {
- public function PaddingInlineEnd()
- {
- super("pe", "padding-inline-end");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingInlineStart.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingInlineStart.as
deleted file mode 100644
index 8fe4215001..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingInlineStart.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads.spacing
-{
- public class PaddingInlineStart extends Padding
- {
- public function PaddingInlineStart()
- {
- super("ps", "padding-inline-start");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingLeft.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingLeft.as
deleted file mode 100644
index 0c469a7325..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingLeft.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads.spacing
-{
- public class PaddingLeft extends Padding
- {
- public function PaddingLeft()
- {
- super("pl", "padding-left");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingRight.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingRight.as
deleted file mode 100644
index a7c272fcc5..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingRight.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads.spacing
-{
- public class PaddingRight extends Padding
- {
- public function PaddingRight()
- {
- super("pr", "padding-right");
- }
- }
-}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingTop.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingTop.as
deleted file mode 100644
index b7d5ab9606..0000000000
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/spacing/PaddingTop.as
+++ /dev/null
@@ -1,28 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements. See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads.spacing
-{
- public class PaddingTop extends Padding
- {
- public function PaddingTop()
- {
- super("pt", "padding-top");
- }
- }
-}
\ No newline at end of file