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/26 22:43:28 UTC

[royale-asjs] branch develop updated: tour-de-jewel: show togglebuttons with outlined and unboxed styles

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 7498e61  tour-de-jewel: show togglebuttons with outlined and unboxed styles
7498e61 is described below

commit 7498e614108dfcd66ae5dcd9bc02f4cb6fc0f445
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Mar 26 23:43:23 2020 +0100

    tour-de-jewel: show togglebuttons with outlined and unboxed styles
---
 .../jewel/TourDeJewel/src/main/royale/ButtonPlayGround.mxml  | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/examples/jewel/TourDeJewel/src/main/royale/ButtonPlayGround.mxml b/examples/jewel/TourDeJewel/src/main/royale/ButtonPlayGround.mxml
index 09045af..31669af 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/ButtonPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/ButtonPlayGround.mxml
@@ -371,6 +371,18 @@ limitations under the License.
 							<j:ToolTip toolTip="show/hide FooterBar"/>
 						</j:beads>
 					</j:ToggleButton>
+					<j:ToggleButton outlined="true" emphasis="secondary"
+                            text="Show it" selected="true">
+                            <j:icon>
+                                <js:ToggleFontIcon text="{MaterialIconType.VISIBILITY_OFF}" selectedText="{MaterialIconType.VISIBILITY}" material="true"/>
+                            </j:icon>
+                        </j:ToggleButton>
+					<j:ToggleButton unboxed="true" emphasis="primary"
+                            text="Show it" selected="true">
+                            <j:icon>
+                                <js:ToggleFontIcon text="{MaterialIconType.VISIBILITY_OFF}" selectedText="{MaterialIconType.VISIBILITY}" material="true"/>
+                            </j:icon>
+                        </j:ToggleButton>
 					<j:HGroup gap="3" itemsVerticalAlign="itemsCenter">
 						<j:ToggleButton localId="tb_lor" text="No Print" selectedText="Print">
 							<j:icon>