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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support