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

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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded