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 520059f  jjewel-togglebuttonbar: show toggle buttons selected at init 
in TDJ example
520059f is described below

commit 520059f4bca6e91c32eba7e5c9b7bc5831892fa6
Author: Carlos Rovira <[email protected]>
AuthorDate: Sun Dec 15 12:53:41 2019 +0100

    jjewel-togglebuttonbar: show toggle buttons selected at init in TDJ example
---
 examples/royale/TourDeJewel/src/main/royale/ButtonBarPlayGround.mxml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/examples/royale/TourDeJewel/src/main/royale/ButtonBarPlayGround.mxml 
b/examples/royale/TourDeJewel/src/main/royale/ButtonBarPlayGround.mxml
index f40d243..0ce57cd 100644
--- a/examples/royale/TourDeJewel/src/main/royale/ButtonBarPlayGround.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/ButtonBarPlayGround.mxml
@@ -139,10 +139,11 @@ limitations under the License.
 
                                <j:Label html="Is a IconButtonBar"/>
 
-                               <html:H4 text="Width 100% and emphasized 
color"/>
+                               <html:H4 text="Width 100% and emphasized color, 
selectedIndex=2"/>
 
                                <j:ToggleButtonBar localId="tbb" 
                                        change="tbbChangeHandler(event)"
+                                       selectedIndex="2"
                                        emphasis="primary" width="100%" 
material="true"
                                        
dataProvider="{listModel.iconButtonData}"/>
                                
@@ -150,6 +151,7 @@ limitations under the License.
 
                                <j:ToggleButtonBar localId="tbb2" 
                                        change="tbbChangeHandler(event)"
+                                       selectedIndex="0"
                                        emphasis="emphasized" 
rightPosition="true" material="true" iconField="icon"
                                        
dataProvider="{listModel.iconButtonData}"/>
                                

Reply via email to