You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2019/01/29 15:01:16 UTC
[royale-asjs] branch feature/formitemview_cleanup updated: Add
specialized containers for Forms example
This is an automated email from the ASF dual-hosted git repository.
piotrz pushed a commit to branch feature/formitemview_cleanup
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/formitemview_cleanup by this push:
new 37057e5 Add specialized containers for Forms example
37057e5 is described below
commit 37057e5ec03f778b4608b2dfb0b20d0d4de6fb2b
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Tue Jan 29 16:01:02 2019 +0100
Add specialized containers for Forms example
---
.../src/main/resources/jewel-example-styles.css | 4 ++--
.../TourDeJewel/src/main/royale/components/FormHGroup.as | 14 ++++++++++++++
.../TourDeJewel/src/main/royale/components/FormVGroup.as | 14 ++++++++++++++
3 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/examples/royale/TourDeJewel/src/main/resources/jewel-example-styles.css b/examples/royale/TourDeJewel/src/main/resources/jewel-example-styles.css
index 993f27e..c981dec 100644
--- a/examples/royale/TourDeJewel/src/main/resources/jewel-example-styles.css
+++ b/examples/royale/TourDeJewel/src/main/resources/jewel-example-styles.css
@@ -95,10 +95,10 @@
.verticalContentFormItem
{
- IFormItemContentArea: ClassReference("org.apache.royale.jewel.VGroup");
+ IFormItemContentArea: ClassReference("components.FormVGroup");
}
.horizontalContentFormItem
{
- IFormItemContentArea: ClassReference("org.apache.royale.jewel.HGroup");
+ IFormItemContentArea: ClassReference("components.FormHGroup");
}
\ No newline at end of file
diff --git a/examples/royale/TourDeJewel/src/main/royale/components/FormHGroup.as b/examples/royale/TourDeJewel/src/main/royale/components/FormHGroup.as
new file mode 100644
index 0000000..8ceef67
--- /dev/null
+++ b/examples/royale/TourDeJewel/src/main/royale/components/FormHGroup.as
@@ -0,0 +1,14 @@
+package components
+{
+ import org.apache.royale.jewel.HGroup;
+
+ public class FormHGroup extends HGroup
+ {
+ public function FormHGroup()
+ {
+ super();
+
+ gap = 5;
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/royale/TourDeJewel/src/main/royale/components/FormVGroup.as b/examples/royale/TourDeJewel/src/main/royale/components/FormVGroup.as
new file mode 100644
index 0000000..c231f5b
--- /dev/null
+++ b/examples/royale/TourDeJewel/src/main/royale/components/FormVGroup.as
@@ -0,0 +1,14 @@
+package components
+{
+ import org.apache.royale.jewel.VGroup;
+
+ public class FormVGroup extends VGroup
+ {
+ public function FormVGroup()
+ {
+ super();
+
+ gap = 5;
+ }
+ }
+}
\ No newline at end of file