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) › Felgo Apps Dialog customization…

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16137

    Jean-Marc

    Hello,

    I need to customize the Felgo Apps Dialog (i.e. set radius to 0 etc.), is it possible and how ?

    I’ve tried to use other QML Dialog and Popups but none of them allow to darken background automatically as the Felgo Apps Dialog…

    Maybe I missed something, so a little help about that would be nice! ­čÖé

    Thank you.

    #16138

    G├╝nther
    Felgo Team

    Hi Jean-Marc!

    You didn’t miss it, the styling of the Dialog is not customizable at the moment. For just setting the radius to zero, you can use the following (ugly) workaround , which navigates to the internal Rectangle within Dialog to change the radius┬áproperty:

      Dialog {
        id: myDialog
    
        Component.onCompleted: {
          var lastChildIdx = myDialog.children.length - 1
          var dialogRect = myDialog.children[lastChildIdx]
          dialogRect.radius = 0
        }
      }

    If the dialog customization is very important for you, you can also leave us a feature request in our Felgo Roadmap thread so we can plan it as an addition for one of the next Felgo versions.

     

    Best,
    G├╝nther

     

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

RSS feed for this thread

You must be logged in to reply to this topic.