This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch feature/jewel-ui-set
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/jewel-ui-set by this
push:
new f038595 fix check and radio to have label relative position, and swf
wrong view references
f038595 is described below
commit f038595aafb3174b5a1f22b5ed967cef9d4ca36e
Author: Carlos Rovira <[email protected]>
AuthorDate: Mon Apr 2 00:51:42 2018 +0200
fix check and radio to have label relative position, and swf wrong view
references
---
frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass | 2 +-
frameworks/projects/Jewel/src/main/sass/components/_radiobutton.sass | 2 +-
frameworks/themes/JewelTheme/src/main/sass/components/_checkbox.sass | 5 ++---
.../themes/JewelTheme/src/main/sass/components/_radiobutton.sass | 5 ++---
4 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass
b/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass
index f7885f3..1af1146 100644
--- a/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass
+++ b/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass
@@ -22,6 +22,6 @@
@media -royale-swf
j|CheckBox
IBeadModel:
ClassReference("org.apache.royale.html.beads.models.ToggleButtonModel")
- IBeadView:
ClassReference("org.apache.royale.html.beads.CheckBoxView")
+ IBeadView:
ClassReference("org.apache.royale.jewel.beads.views.CheckBoxView")
//font-size: 11px
//font-family: Arial
diff --git
a/frameworks/projects/Jewel/src/main/sass/components/_radiobutton.sass
b/frameworks/projects/Jewel/src/main/sass/components/_radiobutton.sass
index 822199f..bac5b6a 100644
--- a/frameworks/projects/Jewel/src/main/sass/components/_radiobutton.sass
+++ b/frameworks/projects/Jewel/src/main/sass/components/_radiobutton.sass
@@ -22,6 +22,6 @@
@media -royale-swf
j|RadioButton
IBeadModel:
ClassReference("org.apache.royale.html.beads.models.ValueToggleButtonModel")
- IBeadView:
ClassReference("org.apache.royale.jewel.beads.RadioButtonView")
+ IBeadView:
ClassReference("org.apache.royale.jewel.beads.views.RadioButtonView")
//font-size: 11px
//font-family: Arial
diff --git
a/frameworks/themes/JewelTheme/src/main/sass/components/_checkbox.sass
b/frameworks/themes/JewelTheme/src/main/sass/components/_checkbox.sass
index a52e126..9542f99 100644
--- a/frameworks/themes/JewelTheme/src/main/sass/components/_checkbox.sass
+++ b/frameworks/themes/JewelTheme/src/main/sass/components/_checkbox.sass
@@ -26,14 +26,12 @@ $checkbox-label-separation: 6px
$checkbox-label-font-size: 16px
.jewel.checkbox
- //cursor: pointer
display: inline-block
margin: 0
padding: 0
position: relative
- vertical-align: middle
width: 100%
height: $checkbox-button-size
@@ -98,7 +96,8 @@ $checkbox-label-font-size: 16px
// -- LABEL
span
cursor: pointer
- position: absolute
+ position: relative
+ vertical-align: top
margin: 0
padding-left: $checkbox-label-separation
font-size: $checkbox-label-font-size
diff --git
a/frameworks/themes/JewelTheme/src/main/sass/components/_radiobutton.sass
b/frameworks/themes/JewelTheme/src/main/sass/components/_radiobutton.sass
index a7b4ff0..f746686 100644
--- a/frameworks/themes/JewelTheme/src/main/sass/components/_radiobutton.sass
+++ b/frameworks/themes/JewelTheme/src/main/sass/components/_radiobutton.sass
@@ -26,14 +26,12 @@ $radiobutton-label-separation: 6px
$radiobutton-label-font-size: 16px
.jewel.radiobutton
- //cursor: pointer
display: inline-block
margin: 0
padding: 0
position: relative
- vertical-align: middle
width: 100%
height: $radiobutton-button-size
@@ -94,7 +92,8 @@ $radiobutton-label-font-size: 16px
// -- LABEL
span
cursor: pointer
- position: absolute
+ position: relative
+ vertical-align: top
margin: 0
padding-left: $radiobutton-label-separation
font-size: $radiobutton-label-font-size
--
To stop receiving notification emails like this one, please contact
[email protected].