You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2022/11/23 08:39:53 UTC

[royale-asjs] branch develop updated: Emulation - change CP size to make it closer to Flex, plus start thinking about binding

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 ac9b5d2948 Emulation - change CP size to make it closer to Flex, plus start thinking about binding
ac9b5d2948 is described below

commit ac9b5d2948593c5e9d752193fc928e1e28836f28
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Wed Nov 23 10:39:38 2022 +0200

    Emulation - change CP size to make it closer to Flex, plus start thinking about binding
---
 .../projects/MXRoyale/src/main/royale/mx/controls/ColorPicker.as      | 4 ++--
 .../MXRoyale/src/main/royale/mx/controls/beads/ColorPickerPopUp.as    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ColorPicker.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ColorPicker.as
index 1e8364a61a..73e22c8742 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ColorPicker.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ColorPicker.as
@@ -627,8 +627,8 @@ public class ColorPicker extends UIComponent //ComboBase
     //  selectedColor
     //----------------------------------
 
-    //[Bindable("change")]
-    //[Bindable("valueCommit")]
+    [Bindable("change")]
+    [Bindable("valueCommit")]
     //[Inspectable(category="General", defaultValue="0", format="Color")]
 
     /**
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/ColorPickerPopUp.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/ColorPickerPopUp.as
index dd888b0879..23caf22676 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/ColorPickerPopUp.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/ColorPickerPopUp.as
@@ -56,7 +56,7 @@ package mx.controls.beads
 			colorPalette = new ColorPalette();
 			var colorPaletteLayout:TileLayout = loadBeadFromValuesManager(TileLayout, "iBeadLayout", colorPalette) as TileLayout;
 			colorPaletteLayout.rowHeight = colorPaletteLayout.columnWidth = 12;
-			colorPalette.width =  200;
+			colorPalette.width =  240;
 		}
 		
 		override public function set model(value:Object):void