Hi, Try for your widgets to call setAutoFillBackground(true);
Kind regards, Robert On Thu, Aug 9, 2018 at 5:58 PM, Nicolas Krieger <nicolas.krie...@medecom.fr> wrote: > Hello > > I would like to display colored widgets in a QTreeWidget. > > Screenshots of what I really have are in attached files. > > My wigdet is colored, but when in the QTreeWidget, it is all white. How can > I resolve it? > > -- > Nicolas Krieger > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest