Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been working on my msm touch app and got to a point were I get the needed info from an XML file, but it is unthemed, and not as good looking as other "direct" text is. Its black and further to the left.

This is my code to show the needed info:

// Server status
ListItem.ThinDivider {} //can be used as header for list
  ListItem.Standard {
    ListView {
      model: xmlModel
      delegate: Text { text: "Serverstatus " + serverState }
 showDivider: false

I'm using XmlListModel to get the info.

SO. WHy is the text not like the rest, and how do I fix it?

share|improve this question
up vote 0 down vote accepted

What I had to do was to deligate the outout from the XML in a ListItem like this:

ListView {
   model: minecraftBlogg
   delegate: ListItem.Subtitled {
      text: minecraftVersion
      subText:"Latest version")
      progression: true
      showDivider: false
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.