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) › InputDialog styling

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

    Felgo User

    Hi,

    I’d like to use Felgo’s InputDialog.confirm(), but I failed to understand how the dialog is themed/styled.

    Do one have any control about background and text colors?

    Thanks,

    Guillaume

    #21508

    Günther
    Felgo Team

    Hi Guillaume,

    the different InputDialog variations all use the Dialog type to provide ready-made implementations for common use-case like confirm(). You can also create a Dialog with custom content yourself in case the ready-made variants do not work for your use-case.The Dialog type offers a default iOS-styled look, based on Theme colors like your Theme.tintColor. The general look of the Dialog is not customizable at the moment.

    As an alternative, you can create a fully custom Overlay with the available QML types and controls. (e.g. Rectangle, MouseArea, AppText, etc …).

    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.