Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › SimpleRow without ">"

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15161

    Nicola

    Hi,

    is existing a way to have a SimpleRow without the “>” icon?

    Thanks

    #15162

    Günther
    Felgo Team

    Hi Nicola,

    the SimpleRow::style property holds a configuration showDisclosure, which you can set to false for the SimpleRow instance. The default setting is based on the Theme configuration, so you can also disable the icon by default for all SimpleRow items in your app by setting Theme.listItem.showDisclosure:

    App {
    
      onInitTheme: {
        Theme.listItem.showDisclosure = false
      } 
    
    }  

     

    Best,

    Günther

    #15178

    Nicola

    Hi,

    AppListView {
                delegate:  SimpleRow {
                    showDisclosure: false
                     
                }

    With this code my app crashs with this message error:

    OperationDetails.qml:32 Cannot assign to non-existent property “showDisclosure”

    #15179

    Alex
    Felgo Team

    Hi Nicola,

    as Günther pointed out, it is part of the style property of the SimpleRow, so the correct code would be:

    AppListView {
      delegate:  SimpleRow {
        style.showDisclosure: false
    }

    Cheers,
    Alex

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

RSS feed for this thread

You must be logged in to reply to this topic.