[Interest] How to style Dialog QML component?

Pierre-Yves Siret py.siret at gmail.com
Wed Jul 25 17:46:28 CEST 2018


2018-07-25 10:56 GMT+02:00 Nuno Santos <nunosantos at imaginando.pt>:

> Hi,
>
> I’m trying to style a QML Dialog component but it seems that I’m only able
> to style the header, content and footer items.
>
> However I need to style the dialog frame, right now it appears as a white
> box with a 1px width black border. I want to change that box in which the
> Dialog appears.
>
> How can I do that? Is it possible?
>
> Thanks!
>
> Nuno
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest


Are you talking about Qt Quick Controls 2 Dialog? (There are 3 different
Dialogs in Qt Quick).

If so, you can also customize the `background` property since it inherits
from Popup.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180725/7041df1b/attachment.html>


More information about the Interest mailing list