summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/mediaplayer/PlaybackRateControl.qml
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-08-02 12:54:28 +0300
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-08-25 08:51:02 +0000
commit671396809fd866e0e3d7793f8fd635b0ad33bed7 (patch)
tree9e754d7f046d45d8942e393045e7d9acea91ad35 /examples/multimedia/video/mediaplayer/PlaybackRateControl.qml
parent185ff0902181f29990c371d0b19b47915b172143 (diff)
Fix mediaplayer QML example's layout and icons
The play control buttons were overlaying the rate seekbar and have wrong layout on both portrait and landscape. Also make sure QtSvg is added to the project because mute/unmute button is an svg image and it's not being loaded properly without the fix. Pick-to: 6.2 Change-Id: I98e26273ca5a2496d624c378d868ac497dd19741 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'examples/multimedia/video/mediaplayer/PlaybackRateControl.qml')
-rw-r--r--examples/multimedia/video/mediaplayer/PlaybackRateControl.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multimedia/video/mediaplayer/PlaybackRateControl.qml b/examples/multimedia/video/mediaplayer/PlaybackRateControl.qml
index 24596538c..99c151a77 100644
--- a/examples/multimedia/video/mediaplayer/PlaybackRateControl.qml
+++ b/examples/multimedia/video/mediaplayer/PlaybackRateControl.qml
@@ -63,7 +63,7 @@ Item {
Slider {
id: slider
- Layout.minimumWidth: 50
+ Layout.fillWidth: true
snapMode: Slider.SnapOnRelease
enabled: true
from: 0.5