You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2016/12/20 16:00:27 UTC
git commit: [flex-asjs] [refs/heads/develop] - Added down-arrowhead
for ComboBox menu button.
Repository: flex-asjs
Updated Branches:
refs/heads/develop 7d4477ec7 -> 5dc578163
Added down-arrowhead for ComboBox menu button.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5dc57816
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5dc57816
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5dc57816
Branch: refs/heads/develop
Commit: 5dc5781630b13c9233df8ebc08045656f051099d
Parents: 7d4477e
Author: Peter Ent <pe...@apache.org>
Authored: Tue Dec 20 11:00:25 2016 -0500
Committer: Peter Ent <pe...@apache.org>
Committed: Tue Dec 20 11:00:25 2016 -0500
----------------------------------------------------------------------
.../src/main/flex/org/apache/flex/html/beads/ComboBoxView.as | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5dc57816/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/ComboBoxView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/ComboBoxView.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/ComboBoxView.as
index e0db6d5..8bb1e91 100644
--- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/ComboBoxView.as
+++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/ComboBoxView.as
@@ -25,6 +25,7 @@ package org.apache.flex.html.beads
import org.apache.flex.core.ValuesManager;
import org.apache.flex.html.TextInput;
import org.apache.flex.html.Button;
+ import org.apache.flex.html.TextButton;
import org.apache.flex.html.List;
import org.apache.flex.events.IEventDispatcher;
import org.apache.flex.events.Event;
@@ -69,7 +70,7 @@ package org.apache.flex.html.beads
return input;
}
- private var button:Button;
+ private var button:TextButton;
/**
* The Button component of the ComboBox.
@@ -114,8 +115,9 @@ package org.apache.flex.html.beads
input.className = "ComboBoxTextInput";
UIBase(host).addElement(input);
- button = new Button();
+ button = new TextButton();
button.className = "ComboBoxButton";
+ button.text = '\u25BC';
UIBase(host).addElement(button);
var popUpClass:Class = ValuesManager.valuesImpl.getValue(_strand, "iPopUp") as Class;