Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Custom SimpleRow and Discloure

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18568

    Nicola

    Hi,

    i defined my object in the SimpleRow, but on ios i have see the Disclosur at the start of the row (i think because it sees an empty SimpleRow) is existing a way to set it at the end of the row?

    Thanks

    Nicola

    #18572

    Günther
    Felgo Team

    Hi,

    it is sufficient to set a text for the SimpleRow to move the disclosure. If you want to keep the row empty, you can also use a blank string text: ” “.

    Here’s an example:

    NavigationStack {
    
          ListPage {
            model: 4
            delegate: SimpleRow {
              text: "Item #"+index // for a bank row, you can set " " as text value
            }
          }

     

    Best,
    Günther

    #18574

    Nicola

    My code is:

    delegate: VP.SimpleRow {
            id: row
    
            onSelected: {
                itemSelected(index, listView.model[index])
            }
    
            VP.Icon {
            ....
            }
    
            VP.AppText {
              ....
            }
    
            ThreeText {
                .. my object, 3 apptext
            }
    }

    Bu it see the disclosure at begin of the row

    #18576

    Günther
    Felgo Team

    You can additionally set the text property for SimpleRow:

    delegate: VP.SimpleRow {
            id: row
            text: " " // adds empty text in Layout within SimpleRow to show disclosure on the right
    
            onSelected: {
                itemSelected(index, listView.model[index])
            }
    
            VP.Icon {
            ....
            }
    
            VP.AppText {
              ....
            }
    
            ThreeText {
                .. my object, 3 apptext
            }
    }

    Best,
    Günther

    #18579

    Nicola

    Solved

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded