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/13 10:13:13 UTC

[royale-asjs] branch develop updated: tour-de-jewel: fix a slider example

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 e769eb1  tour-de-jewel: fix a slider example
e769eb1 is described below

commit e769eb120a11703aa8996d18d522322a754980d7
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Mar 13 11:13:03 2020 +0100

    tour-de-jewel: fix a slider example
---
 examples/royale/TourDeJewel/src/main/royale/ButtonPlayGround.mxml | 2 +-
 examples/royale/TourDeJewel/src/main/royale/SliderPlayGround.mxml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/royale/TourDeJewel/src/main/royale/ButtonPlayGround.mxml b/examples/royale/TourDeJewel/src/main/royale/ButtonPlayGround.mxml
index acd5a34..42ca93a 100644
--- a/examples/royale/TourDeJewel/src/main/royale/ButtonPlayGround.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/ButtonPlayGround.mxml
@@ -313,7 +313,7 @@ limitations under the License.
 							<j:TableRow>
 								<j:TableCell/>
 								<j:TableCell align="center">
-									<j:HSlider id="slider_w" width="250" value="140" minimum="120" maximum="250" valueChange="onValueChange(event)"/>
+									<j:HSlider id="slider_w" value="140" minimum="120" maximum="250" valueChange="onValueChange(event)"/>
 								</j:TableCell>
 							</j:TableRow>
 							<j:TableRow>
diff --git a/examples/royale/TourDeJewel/src/main/royale/SliderPlayGround.mxml b/examples/royale/TourDeJewel/src/main/royale/SliderPlayGround.mxml
index 8d04f26..ae48086 100644
--- a/examples/royale/TourDeJewel/src/main/royale/SliderPlayGround.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/SliderPlayGround.mxml
@@ -106,7 +106,7 @@ limitations under the License.
 		<j:GridCell desktopNumerator="1" desktopDenominator="2" tabletNumerator="1" tabletDenominator="2" phoneNumerator="1" phoneDenominator="1">
 			<j:Card>
 				<html:H3 text="Jewel VSlider"/>
-				<j:HGroup gap="3" width="300">
+				<j:HGroup gap="3" width="100%">
 					<j:VSlider localId="vslider_w" height="250" value="250" minimum="100" maximum="420" change="onChange(event)" valueChange="onValueChange(event)"/>
 					<j:VSlider localId="vslider_h" height="250" value="80" minimum="40" maximum="300" change="onChange(event)" valueChange="onValueChange(event)"/>