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

hiedra 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 00bf098a1c Change ComboBoxView by IComboBoxView and ComboBoxPopUp by 
IStrandWithModelView
00bf098a1c is described below

commit 00bf098a1cc18f688cf15b36263ad9ed84ec8134
Author: mjesteve <[email protected]>
AuthorDate: Tue Jul 4 00:14:57 2023 +0200

    Change ComboBoxView by IComboBoxView and ComboBoxPopUp by 
IStrandWithModelView
---
 frameworks/projects/.vscode/tasks.json             | 27 ++++++++++++++++++----
 .../beads/controls/combobox/ComboBoxListWidth.as   |  6 ++---
 2 files changed, 26 insertions(+), 7 deletions(-)

diff --git a/frameworks/projects/.vscode/tasks.json 
b/frameworks/projects/.vscode/tasks.json
index f207ad45ed..9079eeeb12 100644
--- a/frameworks/projects/.vscode/tasks.json
+++ b/frameworks/projects/.vscode/tasks.json
@@ -1,9 +1,28 @@
 {
        // See https://go.microsoft.com/fwlink/?LinkId=733558
        // for the documentation about the tasks.json format
-       "version": "0.1.0",
+       "version": "2.0.0",
        "command": "mvn",
-       "args": ["clean", "install", "-DskipTests"],
-       "isShellCommand": true,
-       "showOutput": "always"
+       "args": [
+               "clean",
+               "install",
+               "-DskipTests"
+       ],
+       "tasks": [
+               {
+                       "label": "mvn",
+                       "type": "shell",
+                       "command": "mvn",
+                       "args": [
+                               "clean",
+                               "install",
+                               "-DskipTests"
+                       ],
+                       "problemMatcher": [],
+                       "group": {
+                               "_id": "build",
+                               "isDefault": false
+                       }
+               }
+       ]
 }
diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/ComboBoxListWidth.as
 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/ComboBoxListWidth.as
index 69df6b7a44..1a5fd29057 100644
--- 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/ComboBoxListWidth.as
+++ 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/ComboBoxListWidth.as
@@ -22,9 +22,9 @@ package org.apache.royale.jewel.beads.controls.combobox
        import org.apache.royale.core.IStrand;
        import org.apache.royale.events.Event;
        import org.apache.royale.jewel.ComboBox;
-       import org.apache.royale.jewel.supportClasses.combobox.ComboBoxPopUp;
-       import org.apache.royale.jewel.beads.views.ComboBoxView;
+       import org.apache.royale.jewel.beads.controls.combobox.IComboBoxView;
        import org.apache.royale.jewel.beads.views.ComboBoxPopUpView;
+       import org.apache.royale.core.IStrandWithModelView;
        
        /**
         *  The ComboBoxListWidth class is a specialty bead that can be used 
with
@@ -82,7 +82,7 @@ package org.apache.royale.jewel.beads.controls.combobox
                private function popUpOpenedHandler(event:Event):void
                {
                        if (width > 0)
-                   (((_strand.view as ComboBoxView).popup as 
ComboBoxPopUp).view as ComboBoxPopUpView).list.width = width;
+                   (((_strand.view as IComboBoxView).popup as 
IStrandWithModelView).view as ComboBoxPopUpView).list.width = width;
                }
        }
 }
\ No newline at end of file

Reply via email to