diff options
Diffstat (limited to 'src/quickcontrols/windows/ItemDelegate.qml')
-rw-r--r-- | src/quickcontrols/windows/ItemDelegate.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/quickcontrols/windows/ItemDelegate.qml b/src/quickcontrols/windows/ItemDelegate.qml new file mode 100644 index 0000000000..879c4532ec --- /dev/null +++ b/src/quickcontrols/windows/ItemDelegate.qml @@ -0,0 +1,10 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick.NativeStyle as NativeStyle + +NativeStyle.DefaultItemDelegate { + contentItem: NativeStyle.DefaultItemDelegateIconLabel { + color: control.highlighted ? control.palette.button : control.palette.windowText + } +} |