You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/04/08 14:50:19 UTC

[royale-asjs] branch develop updated: jewel-checkbox and radiobutton: fix width when used directly in a grid

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

carlosrovira 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 8324d8a  jewel-checkbox and radiobutton: fix width when used directly in a grid
8324d8a is described below

commit 8324d8a9f8e06013168780c79ec77bfec23466c0
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Apr 8 16:50:15 2020 +0200

    jewel-checkbox and radiobutton: fix width when used directly in a grid
---
 frameworks/projects/Jewel/src/main/resources/defaults.css            | 2 ++
 frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass    | 1 +
 frameworks/projects/Jewel/src/main/sass/components/_radiobutton.sass | 1 +
 3 files changed, 4 insertions(+)

diff --git a/frameworks/projects/Jewel/src/main/resources/defaults.css b/frameworks/projects/Jewel/src/main/resources/defaults.css
index 13f4e3f..e8ac70e 100644
--- a/frameworks/projects/Jewel/src/main/resources/defaults.css
+++ b/frameworks/projects/Jewel/src/main/resources/defaults.css
@@ -405,6 +405,7 @@ j|CardActions {
 .jewel.checkbox span {
   cursor: pointer;
   margin: auto;
+  width: inherit;
 }
 
 .jewel.controlbar {
@@ -3471,6 +3472,7 @@ j|PopUp {
 .jewel.radiobutton span {
   cursor: pointer;
   margin: 0;
+  width: inherit;
 }
 
 @media -royale-swf {
diff --git a/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass b/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass
index aeeeb31..f7d6969 100644
--- a/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass
+++ b/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass
@@ -85,6 +85,7 @@ $checkbox-button-yoffset: 0px
 		cursor: pointer
 
 		margin: auto
+		width: inherit
 		// vertical-align: top
 
 		// line-height: $checkbox-button-size + 2
diff --git a/frameworks/projects/Jewel/src/main/sass/components/_radiobutton.sass b/frameworks/projects/Jewel/src/main/sass/components/_radiobutton.sass
index 276b1e3..6331e18 100644
--- a/frameworks/projects/Jewel/src/main/sass/components/_radiobutton.sass
+++ b/frameworks/projects/Jewel/src/main/sass/components/_radiobutton.sass
@@ -85,6 +85,7 @@ $radiobutton-button-yoffset: 0px
 		cursor: pointer
 
 		margin: 0
+		width: inherit
 		// vertical-align: top
 
 		// line-height: $radiobutton-button-size + 2