diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-10-14 10:13:35 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-10-14 13:38:54 +0200 |
commit | ee08174435287c483e287a29467c8c5d30fc197b (patch) | |
tree | 696667ef6ff3e38a2c9b515e4edbf6db31f8ef32 /src/imports/nativestyle/controls | |
parent | b3c08845c769771f881f41691c7effaf42a91483 (diff) |
nativestyle, ProgressBar: fix copy/paste mistake related to nativeIndicator
DefaultProgressBar.qml doesn't have any property called "nativeIndicator".
Instead it should use "__nativeBackground".
Change-Id: I848f82a9e093476cb806ea7fc436238c281591ac
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/imports/nativestyle/controls')
-rw-r--r-- | src/imports/nativestyle/controls/DefaultProgressBar.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/nativestyle/controls/DefaultProgressBar.qml b/src/imports/nativestyle/controls/DefaultProgressBar.qml index 290387c5..037bdbae 100644 --- a/src/imports/nativestyle/controls/DefaultProgressBar.qml +++ b/src/imports/nativestyle/controls/DefaultProgressBar.qml @@ -51,7 +51,7 @@ T.ProgressBar { implicitContentHeight + topPadding + bottomPadding, control.vertical ? 90 : 0 /* minimum */ ) - font.pixelSize: nativeIndicator ? indicator.styleFont(control).pixelSize : undefined + font.pixelSize: __nativeBackground ? background.styleFont(control).pixelSize : undefined background: NativeStyle.ProgressBar { control: control |