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/03/18 09:29:07 UTC

[royale-asjs] branch develop updated: jewel-checkbox: update to size that was 24px by default

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 2854f5b  jewel-checkbox: update to size that was 24px by default
2854f5b is described below

commit 2854f5b824fe6304ff67a5eac779258ec37c6cd4
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Mar 18 10:28:56 2020 +0100

    jewel-checkbox: update to size that was 24px by default
---
 frameworks/projects/Jewel/src/main/resources/defaults.css    | 12 ++++++------
 .../apache/royale/jewel/beads/controls/InputButtonSize.as    |  2 +-
 .../projects/Jewel/src/main/sass/components/_checkbox.sass   |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/resources/defaults.css b/frameworks/projects/Jewel/src/main/resources/defaults.css
index bc030e2..566ede7 100644
--- a/frameworks/projects/Jewel/src/main/resources/defaults.css
+++ b/frameworks/projects/Jewel/src/main/resources/defaults.css
@@ -344,8 +344,8 @@ j|ToggleButtonBar {
   display: inline-flex;
   margin: 0;
   padding: 0;
-  width: 22px;
-  height: 22px;
+  width: 24px;
+  height: 24px;
   opacity: 0;
 }
 .jewel.checkbox input + span::before {
@@ -353,14 +353,14 @@ j|ToggleButtonBar {
   position: absolute;
   left: 0px;
   top: 0px;
-  width: 22px;
-  height: 22px;
+  width: 24px;
+  height: 24px;
 }
 .jewel.checkbox input + span::after {
   content: " ";
   position: absolute;
-  width: 22px;
-  height: 22px;
+  width: 24px;
+  height: 24px;
   left: 0px;
   top: 0px;
   opacity: 0;
diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/InputButtonSize.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/InputButtonSize.as
index 846e8f7..fa37256 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/InputButtonSize.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/InputButtonSize.as
@@ -37,7 +37,7 @@ package org.apache.royale.jewel.beads.controls
      */
 	public class InputButtonSize implements IBead
 	{
-		public static const INPUTBUTTON_DEFAULT_SIZE:Number = 22;
+		public static const INPUTBUTTON_DEFAULT_SIZE:Number = 24;
 
         /**
          *  Constructor.
diff --git a/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass b/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass
index 070b8fd..ad4b974 100644
--- a/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass
+++ b/frameworks/projects/Jewel/src/main/sass/components/_checkbox.sass
@@ -20,7 +20,7 @@
 // Jewel CheckBox
 
 // CheckBox variables
-$checkbox-button-size: 22px
+$checkbox-button-size: 24px
 $checkbox-button-xoffset: 0px
 $checkbox-button-yoffset: 0px