[Interest] How to style Dialog QML component?

Nuno Santos nunosantos at imaginando.pt
Thu Jul 26 13:17:42 CEST 2018


Pierre,

I didn’t found the background property. That’s precisely what I needed.

Thanks!!! :)

Best,

Nuno

> On 25 Jul 2018, at 16:46, Pierre-Yves Siret <py.siret at gmail.com> wrote:
> 
> 
> 
> 2018-07-25 10:56 GMT+02:00 Nuno Santos <nunosantos at imaginando.pt <mailto: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 <mailto:Interest at qt-project.org>
> http://lists.qt-project.org/mailman/listinfo/interest <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/20180726/e4f33e3f/attachment.html>


More information about the Interest mailing list