Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

There's some data at the bottom of Tableview hidden

$
0
0

I have a tableview and in each row contains an image and some data, but when the tableview is long exceed the screen, some data at the bottom of the last row is hidden, it isn't scrolled up.

Here's the image http://www.imagesup.net/pm-1514088131698.png

as you can see the last row choose have some more data, but it just stop rigth there, doesn't display the rest data, how can i fix it?

Here's the example code of viewfile.xml

<View id="storyInfo">
                    <TableView id="sharedPromotion">
                        <TableViewRow class="promotionRow">
                            <View class="promotionContainer">
                                <View class="imageAndButton">
                                    <ImageView class="promotionImage" image="http://13550200.lnw.mn/hotel/img/banner1.jpg" />
                                    <View class="infoButton">
                                        <Label class="infoText">Info</Label>
                                    </View>
                                </View>
 
                                <View class="sharedDetail">
                                    <View class="profilePic">
                                        <ImageView class="profilePicPic" />
                                    </View>
                                    <View class="message">
                                        <View class="upperLine">
                                            <Label class="nameAndSureName">Taylor Swift</Label>
                                        </View>
                                        <View class="lowerLine">
                                            <Label class="contentText">" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla port consectetur nisl. "</Label>
                                        </View>
                                    </View>
                                    <View class="timePass">
                                        <Label class="timeNumber">22 hrs</Label>
                                    </View>
                                </View>
                            </View>
                        </TableViewRow>
    </TableView>
</View>
and here is from tss file
"#sharedPromotion":{
    backgroundColor: "white",
    seperatorStyle: "NONE",
    separatorColor : "transparent",
    top: 15,
    bottom: 0
},
".promotionRow":{
    height: Ti.UI.SIZE,
    selectionStyle: "NONE",
    top: 0,
    backgroundColor: "#f3f3f3"
},
".promotionContainer":{
    width: "95%",
    height: Ti.UI.SiZE,
    layout: "vertical"
},
".imageAndButton":{
    width: "100%",
    height: "325px",
    top: 0,
    bottom: 0
},
".promotionImage":{
    width: "100%",
    height: "100%",
    top: 0,
    bottom: 0,
    zIndex: "1"
},
".infoButton":{
    backgroundColor: "#f8f8f8",
    opacity: "0.7",
    bottom: 15,
    right: 15,
    width: "120px",
    height: "45px",
    zIndex: "20"
},
".infoText":{
    font:{
        fontSize: "11",
        fontFamily: "Quark-Bold",
        fontWeight: "normal"
    },
    color: "#333333"
},
".sharedDetail":{
    width: "100%",
    height: "155px",
    layout: "horizontal",
    backgroundColor: "white"
},
".profilePic":{
    width: "135px",
    height: "100%"
},
".profilePicPic":{
    width: "115px",
    height: "115px",
    borderRadius: "60px",
    image: "http://13550200.lnw.mn/hotel/img/img_user/TAYLOR-SWIFT.jpg",
    left: 10
},
".message":{
    width: "60%",
    height: "100%",
    layout: "vertical"
},
".upperLine":{
    width: "100%",
    height: "30%"
},
".nameAndSureName":{
    color: "#232323",
    font: {
        fontFamily: "Quark-Bold",
        fontWeight: "normal",
        fontSize: "16"
    },
    left: 5,
    top: 5
},
".lowerLine":{
    width: "100%",
    height: "70%"
},
".timePass":{
    width: "100px",
    height: "100%"
},
".timeNumber":{
    color: "#acacac",
    font: {
        fontFamily: "Quark-Bold",
        fontWeight: "normal",
        fontSize: "11"
    },
    right: 0,
    top: 5
},
".contentText":{
    color: "#545454",
    font: {
        fontFamily: "Quark-Light",
        fontWeight: "normal",
        fontSize: "11"
    },
    top: 0,
    left: 5
 
}

Viewing all articles
Browse latest Browse all 8068

Trending Articles