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

Forums

OverviewFelgo 3 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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded