diff options
author | Juho Annunen <juho.annunen@qt.io> | 2018-08-21 14:44:48 +0300 |
---|---|---|
committer | Teemu Holappa <teemu.holappa@qt.io> | 2018-08-23 06:55:15 +0000 |
commit | 3594ea2a2dec8a74c2e8baf307c13671ebbdf18c (patch) | |
tree | a83b1cee09a1050ed2c11854dd3c778ceebea229 /basicsuite/mediaplayer/EffectSelectionPanel.qml | |
parent | e81384c45e5c0b90e07057abd2a8788272d14c0f (diff) |
Fix scaling, video path & focusing issues on mediaplayer demo
Task-number: QTBUG-62791
Change-Id: I8ea9bcc27fcf0b2d4fb9f7b8ada165f7a5a5d7c8
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'basicsuite/mediaplayer/EffectSelectionPanel.qml')
-rw-r--r-- | basicsuite/mediaplayer/EffectSelectionPanel.qml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/basicsuite/mediaplayer/EffectSelectionPanel.qml b/basicsuite/mediaplayer/EffectSelectionPanel.qml index 0af10a5..9aee910 100644 --- a/basicsuite/mediaplayer/EffectSelectionPanel.qml +++ b/basicsuite/mediaplayer/EffectSelectionPanel.qml @@ -52,7 +52,6 @@ import QtQuick 2.0 Rectangle { id: root color: _backgroundColor - height: 78 property int itemHeight: 25 property string effectSource: "" property bool isMouseAbove: mouseAboveMonitor.containsMouse @@ -141,7 +140,7 @@ Rectangle { id: list anchors.fill: parent clip: true - anchors.margins: 14 + anchors.margins: itemMargin model: sources focus: root.visible && root.opacity && urlBar.opacity === 0 @@ -154,14 +153,14 @@ Rectangle { } delegate: Item { - height: 40 + height: itemHeight width: parent.width property bool isSelected: list.currentIndex == index Text { color: parent.isSelected ? _primaryGreen : "white" text: name anchors.centerIn: parent - font.pixelSize: 20 + font.pixelSize: defaultFontSize font.family: appFont font.styleName: parent.isSelected ? "Bold" : "Regular" } |