This is an automated email from the ASF dual-hosted git repository.

yishayw 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 55d521e5a6 Since StyleSkin sets styles on host when setting strand no 
need to do it again
55d521e5a6 is described below

commit 55d521e5a6752d4e5658f5fe405102ec7bead267
Author: Yishay Weiss <[email protected]>
AuthorDate: Tue Apr 14 18:04:06 2026 +0300

    Since StyleSkin sets styles on host when setting strand no need to do it 
again
---
 .../src/main/royale/org/apache/royale/style/skins/CardActionsSkin.as    | 2 +-
 .../Style/src/main/royale/org/apache/royale/style/skins/CardBodySkin.as | 2 +-
 .../Style/src/main/royale/org/apache/royale/style/skins/CardSkin.as     | 2 +-
 .../src/main/royale/org/apache/royale/style/skins/CardTitleSkin.as      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardActionsSkin.as
 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardActionsSkin.as
index 96e788a5f9..ec62ef27c3 100644
--- 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardActionsSkin.as
+++ 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardActionsSkin.as
@@ -57,8 +57,8 @@ package org.apache.royale.style.skins
                                        new JustifyContent("end"),
                                        new Gap(gapVal)
                                ];
+                               host.setStyles(_styles);
                        }
-                       host.setStyles(_styles);
                }
        }
 }
diff --git 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardBodySkin.as
 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardBodySkin.as
index 27db11b7b0..b04c5f0e6b 100644
--- 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardBodySkin.as
+++ 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardBodySkin.as
@@ -64,8 +64,8 @@ package org.apache.royale.style.skins
                                        new Gap(gapVal),
                                        padding
                                ];
+                               host.setStyles(_styles);
                        }
-                       host.setStyles(_styles);
                }
 
                private function getMultiplier():Number
diff --git 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardSkin.as
 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardSkin.as
index 7472304ea8..fec7b9e589 100644
--- 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardSkin.as
+++ 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardSkin.as
@@ -82,8 +82,8 @@ package org.apache.royale.style.skins
                                                dashBorder
                                        ])
                                ];
+                               host.setStyles(_styles);
                        }
-                       host.setStyles(_styles);
                }
        }
 }
diff --git 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardTitleSkin.as
 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardTitleSkin.as
index b350f22600..705f487ed9 100644
--- 
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardTitleSkin.as
+++ 
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/skins/CardTitleSkin.as
@@ -53,8 +53,8 @@ package org.apache.royale.style.skins
                                        new FontSize(host.size || "base"),
                                        new FontWeight("600")
                                ];
+                               host.setStyles(_styles);
                        }
-                       host.setStyles(_styles);
                }
        }
 }

Reply via email to