0
私はチタンで新しく、合金のテーブルビューローの問題に直面しています。私の要件は、コンテンツに応じてTableviewrowの高さを設定することです。私はたくさん試しましたが、成功しませんでした。チタン合金のテーブルビューローの動的な高さ
<Alloy>
<TableViewRow id="row" onClick="openHistoryDetail">
<View id="rowView" width="Ti.UI.FILL">
<View id="contentView">
<View id="leftView">
<ImageView id="leftImage" />
</View>
<View id="details" top="0">
<View width="100%" height="Titanium.UI.FILL" layout="horizontal">
<View width="65%" layout="vertical">
<Label id="topupCategory" class="mediumFont" text="" />
<Label id="phone" class="smallFont" text="" />
<Label id="date" class="smallFont" colocolor="#000" text="" />
</View>
<View width="35%" layout="vertical">
<Label id="transfered_amount" class="amtBalance" text="" />
<Label id="available_amount" class="mediumFont" text="" />
</View>
</View>
</View>
</View>
</View>
</TableViewRow>
と.tssファイルが含まれています:私History.xmlコードがある
"#row[platform=ios]": {
width : Titanium.UI.FILL,
height : Titanium.UI.FILL,
backgroundColor : "#ececec",
selectionStyle : Titanium.UI.iPhone.TableViewCellSelectionStyle.NONE}
"#row[platform=android]": {
width : Titanium.UI.FILL,
height : Titanium.UI.FILL,
backgroundColor : "#ececec"}
"#rowView":{
width : Titanium.UI.FILL,
height : Titanium.UI.FILL,
backgroundColor : "#ececec",
zIndex : 2,
borderWidth : 0.5,
borderColor : "#dadada"}
"#contentView":{
width : "100%",
height : Titanium.UI.SIZE,
backgroundColor : "#ececec"}
任意のアイデアはどのように私は、内容に応じてTableviewrowの高さを設定することができますか?事前のおかげで