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/06/07 19:38:50 UTC
[royale-asjs] 06/06: DataGridLayoutPlayGround: Use the new
LayoutChildren bead so inner datagrid resize as needed
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
commit 1c3384c8124e55f9865fa086cc1e3c336fb17cce
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Jun 7 21:35:04 2020 +0200
DataGridLayoutPlayGround: Use the new LayoutChildren bead so inner datagrid resize as needed
---
examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml b/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
index 828856e..dd38563 100644
--- a/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
+++ b/examples/jewel/TourDeJewel/src/main/royale/DataGridPlayGround.mxml
@@ -216,6 +216,9 @@ limitations under the License.
<j:GridCell desktopNumerator="1" desktopDenominator="2" tabletNumerator="1" tabletDenominator="2" phoneNumerator="1" phoneDenominator="1">
<j:Card localId="card2" height="400">
+ <j:beads>
+ <j:LayoutChildren/>
+ </j:beads>
<j:CardHeader itemsVerticalAlign="itemsCenter">
<j:BarSection>
<html:H3 text="Percentage Width and Height" className="primary-normal"/>
@@ -225,6 +228,9 @@ limitations under the License.
</j:BarSection>
</j:CardHeader>
<j:CardPrimaryContent>
+ <j:beads>
+ <j:LayoutChildren/>
+ </j:beads>
<j:Label multiline="true">
<j:html><![CDATA[<p><i>width</i> and <i>height</i> set to 100%, no <i>columnWidth</i> or <i>rowHeight</i>, and default <i>dataProvider</i>.<br>Note: this card need to set <i>height</i> so datagrid 100% could work.</p>]]></j:html>
</j:Label>